CVSROOT:        /cvs
Module name:    src
Changes by:     flor...@cvs.openbsd.org 2016/10/20 12:34:17

Modified files:
        sbin/ping      : ping.c 

Log message:
Only drop to _ping user if invoked as root. If invoked as an
unprivileged user just shed the setuid privs as previously.

sthen@ pointed out that you cannot kill(2) your own ping.
With this we rely on pledge(2) for unprivileged users.

OK sthen@, deraadt@ is happy with the middle ground

Reply via email to