diff options
author | 2016-10-20 18:34:17 +0000 | |
---|---|---|
committer | 2016-10-20 18:34:17 +0000 | |
commit | fd3f103f8fd06c59ad4bfedb1e2003d0fdb332e3 (patch) | |
tree | 3fcd1187d3b5cfe6bb34656ba555d7b4939c854e /regress/sys/net/pf_fragment/frag6.py | |
parent | Replace fork() and sleep() with a Python thread for sniffing packets. (diff) | |
download | wireguard-openbsd-fd3f103f8fd06c59ad4bfedb1e2003d0fdb332e3.tar.xz wireguard-openbsd-fd3f103f8fd06c59ad4bfedb1e2003d0fdb332e3.zip |
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
Diffstat (limited to 'regress/sys/net/pf_fragment/frag6.py')
0 files changed, 0 insertions, 0 deletions