summaryrefslogtreecommitdiff
path: root/sbin/pflogd
diff options
context:
space:
mode:
authorSebastian Benoit <benno@cvs.openbsd.org>2017-01-23 03:47:38 +0000
committerSebastian Benoit <benno@cvs.openbsd.org>2017-01-23 03:47:38 +0000
commit0b2a792eec6d9b4d40d89e587a7317a33900da47 (patch)
treef949e24cafed0ddd5d09f453e4be369ffea2efc2 /sbin/pflogd
parentfb28067f1441e61fd6a089089171757700425879 (diff)
pflogd will need pledge(proc), still disabled because of bfd
ok deraadt@
Diffstat (limited to 'sbin/pflogd')
-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) {