summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2015-10-04 07:25:59 +0000
committernicm <nicm@openbsd.org>2015-10-04 07:25:59 +0000
commit80736d2221ea3485cd8b10db0555f80fff19bd72 (patch)
tree20a290c2588cbd3e2bbbc540e874d3e42824f560 /lib
parentrecv() and send() aren't overriden by libpthread (vs recvfrom() and sendto()!) (diff)
downloadwireguard-openbsd-80736d2221ea3485cd8b10db0555f80fff19bd72.tar.xz
wireguard-openbsd-80736d2221ea3485cd8b10db0555f80fff19bd72.zip
Add tame(2) to file(1) and drop the old systrace(4) sandbox. tame(2) is
only applied to the child process, which requires the parent to not pass directory file descriptors (tame("cmsg") does not allow it). Because file(1) is already privsep, the permissions in the child can be quickly restricted: first to "stdio cmsg getpw proc" then after the privdrop to "stdio cmsg".
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions