diff options
author | 2015-10-09 16:29:17 +0000 | |
---|---|---|
committer | 2015-10-09 16:29:17 +0000 | |
commit | 9c393436a045ed074888930811a696dc8078aba1 (patch) | |
tree | 2f6d31823176861ace8754a457ab732864247d9a | |
parent | pare down the readme so as to not imply we are tracking upstream. (diff) | |
download | wireguard-openbsd-9c393436a045ed074888930811a696dc8078aba1.tar.xz wireguard-openbsd-9c393436a045ed074888930811a696dc8078aba1.zip |
catch up to tame() -> pledge() rename
-rw-r--r-- | usr.sbin/syslogd/syslogd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/syslogd/syslogd.c b/usr.sbin/syslogd/syslogd.c index 41d64df0c90..1125573aa57 100644 --- a/usr.sbin/syslogd/syslogd.c +++ b/usr.sbin/syslogd/syslogd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: syslogd.c,v 1.191 2015/10/09 12:07:32 bluhm Exp $ */ +/* $OpenBSD: syslogd.c,v 1.192 2015/10/09 16:29:17 deraadt Exp $ */ /* * Copyright (c) 1983, 1988, 1993, 1994 @@ -593,8 +593,8 @@ main(int argc, char *argv[]) if (priv_init(ConfFile, NoDNS, lockpipe[1], nullfd, argv) < 0) errx(1, "unable to privsep"); - if (tame("stdio rpath unix inet recvfd", NULL) == -1) - err(1, "tame"); + if (pledge("stdio rpath unix inet recvfd", NULL) == -1) + err(1, "pledge"); /* Process is now unprivileged and inside a chroot */ event_init(); |