-/* $OpenBSD: syslogd.c,v 1.192 2015/10/09 16:29:17 deraadt Exp $ */
+/* $OpenBSD: syslogd.c,v 1.193 2015/10/09 16:44:55 bluhm Exp $ */
/*
* Copyright (c) 1983, 1988, 1993, 1994
if (priv_init(ConfFile, NoDNS, lockpipe[1], nullfd, argv) < 0)
errx(1, "unable to privsep");
- if (pledge("stdio rpath unix inet recvfd", NULL) == -1)
+ if (pledge("stdio rpath unix inet recvfd proc", NULL) == -1)
err(1, "pledge");
/* Process is now unprivileged and inside a chroot */