When dropping root privileges, start the helper to allow binding
of server sockets later.
test_code '<sys/clockctl.h>' 'sys/clockctl.h' '' '' ''
then
add_def FEAT_PRIVDROP
+ priv_ops="BINDSOCKET"
fi
if [ $feat_scfilter = "1" ] && [ $try_seccomp = "1" ] && \
#include "sys_netbsd.h"
#include "sys_timex.h"
#include "logging.h"
+#include "privops.h"
#include "util.h"
/* Maximum frequency offset accepted by the kernel (in ppm) */
{
int fd;
+ PRV_StartHelper();
+
if (setgroups(0, NULL))
LOG_FATAL(LOGF_SysNetBSD, "setgroups() failed : %s", strerror(errno));