diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2015-10-20 12:40:20 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2015-10-20 12:40:20 +0000 |
commit | b34ecdc1dde3c3b981bcf4fedc054676fd1df78a (patch) | |
tree | 4fe47d1aa169055ae7972135d81e4c61bcfaf46c /usr.sbin/syslogd | |
parent | 19d1c41b6eb8f705b67c0465c64c1986d31087f3 (diff) |
After pledge "dns" has been refactored and setsockopt(SO_RCVBUF)
has been added to it, the syslogd privsep parent does not need
pledge "inet" anymore.
discussed with deraadt@
Diffstat (limited to 'usr.sbin/syslogd')
-rw-r--r-- | usr.sbin/syslogd/privsep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/syslogd/privsep.c b/usr.sbin/syslogd/privsep.c index 358b60c42f6..7700a11a78b 100644 --- a/usr.sbin/syslogd/privsep.c +++ b/usr.sbin/syslogd/privsep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: privsep.c,v 1.58 2015/10/18 16:35:06 bluhm Exp $ */ +/* $OpenBSD: privsep.c,v 1.59 2015/10/20 12:40:19 bluhm Exp $ */ /* * Copyright (c) 2003 Anil Madhavapeddy <anil@recoil.org> @@ -144,7 +144,7 @@ priv_init(char *conf, int numeric, int lockfd, int nullfd, char *argv[]) return 0; } - if (pledge("stdio rpath wpath cpath inet dns getpw sendfd id proc exec", + if (pledge("stdio rpath wpath cpath dns getpw sendfd id proc exec", NULL) == -1) err(1, "pledge priv"); |