sys_netbsd: use privileged helper for socket binding

When dropping root privileges, start the helper to allow binding
of server sockets later.
This commit is contained in:
Miroslav Lichvar
2015-12-08 17:19:33 +01:00
parent fedc605956
commit 46f0ad6b53
2 changed files with 4 additions and 0 deletions

1
configure vendored
View File

@@ -614,6 +614,7 @@ if [ $feat_droproot = "1" ] && [ $try_clockctl = "1" ] && \
test_code '<sys/clockctl.h>' 'sys/clockctl.h' '' '' ''
then
add_def FEAT_PRIVDROP
priv_ops="BINDSOCKET"
fi
if [ $feat_scfilter = "1" ] && [ $try_seccomp = "1" ] && \