summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorbrynet <brynet@openbsd.org>2018-11-17 16:52:02 +0000
committerbrynet <brynet@openbsd.org>2018-11-17 16:52:02 +0000
commitdf0bbf748a0782c04d85669ff4b20a2efe298759 (patch)
tree50026f88676ed1428036f6cfcbd597533acfb609 /sys
parentFix DTLS, because DTLS still remains a special flower, allows regress to pass (diff)
downloadwireguard-openbsd-df0bbf748a0782c04d85669ff4b20a2efe298759.tar.xz
wireguard-openbsd-df0bbf748a0782c04d85669ff4b20a2efe298759.zip
tcpdump(8) monitor process privdrop
The privsep monitor process handles all privileged operations on behalf of the unprivileged "packet parser" process. Once it enters its runtime state, it only needs to: * Perform DNS and other "numbers to names" lookups, sending results back over a pipe/socketpair. * Display the final packet statistics on ^C. We can finally now drop root privileges in this process as well, as bpf BIOCGSTATS is still permitted by non-root on open descriptors after it has been permanently locked with BIOCLOCK. This provides some additional protection, to go along with the already tight unveil(2) and pledge(2) restrictions. With this change tcpdump(8) completely drops root privileges at runtime. ok mestre@, deraadt@
Diffstat (limited to 'sys')
0 files changed, 0 insertions, 0 deletions