summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbenno <benno@openbsd.org>2017-01-23 03:47:37 +0000
committerbenno <benno@openbsd.org>2017-01-23 03:47:37 +0000
commit6daea392fde69ff9bd76839b80e2ec1e483c6707 (patch)
treebbd92284b02998f68c9a6436bedde29e42bafd91
parentwhitespace (diff)
downloadwireguard-openbsd-6daea392fde69ff9bd76839b80e2ec1e483c6707.tar.xz
wireguard-openbsd-6daea392fde69ff9bd76839b80e2ec1e483c6707.zip
pflogd will need pledge(proc), still disabled because of bfd
ok deraadt@
-rw-r--r--sbin/pflogd/privsep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/pflogd/privsep.c b/sbin/pflogd/privsep.c
index 2c8d3fb3e8e..2d217a867e9 100644
--- a/sbin/pflogd/privsep.c
+++ b/sbin/pflogd/privsep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: privsep.c,v 1.22 2016/01/16 03:17:48 canacar Exp $ */
+/* $OpenBSD: privsep.c,v 1.23 2017/01/23 03:47:37 benno Exp $ */
/*
* Copyright (c) 2003 Can Erkin Acar
@@ -121,7 +121,7 @@ priv_init(void)
#if notyet
/* This needs to do bpf ioctl */
- if (pledge("stdio rpath wpath cpath ioctl sendfd", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath ioctl sendfd proc", NULL) == -1)
err(1, "pledge");
#endif
while (!gotsig_chld) {