diff options
author | deraadt <deraadt@openbsd.org> | 2015-11-01 19:59:28 +0000 |
---|---|---|
committer | deraadt <deraadt@openbsd.org> | 2015-11-01 19:59:28 +0000 |
commit | b1e9a473929a5c4c46fcb7228465152569a14c07 (patch) | |
tree | adb8352ce2e59e8a8cf4de1dc2e3b53521141c86 /usr.sbin/inetd | |
parent | refactor pledge_*_check and pledge_fail functions (diff) | |
download | wireguard-openbsd-b1e9a473929a5c4c46fcb7228465152569a14c07.tar.xz wireguard-openbsd-b1e9a473929a5c4c46fcb7228465152569a14c07.zip |
needs pledge "cpath" to allow unlink of AF_UNIX sockets eventually
Diffstat (limited to 'usr.sbin/inetd')
-rw-r--r-- | usr.sbin/inetd/inetd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/inetd/inetd.c b/usr.sbin/inetd/inetd.c index 01cd6cc286f..461a89f137f 100644 --- a/usr.sbin/inetd/inetd.c +++ b/usr.sbin/inetd/inetd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: inetd.c,v 1.148 2015/11/01 00:31:18 deraadt Exp $ */ +/* $OpenBSD: inetd.c,v 1.149 2015/11/01 19:59:28 deraadt Exp $ */ /* * Copyright (c) 1983,1991 The Regents of the University of California. @@ -346,7 +346,7 @@ main(int argc, char *argv[]) (void) setlogin(""); } - if (pledge("stdio rpath getpw dns inet unix proc exec id", NULL) == -1) + if (pledge("stdio rpath cpath getpw dns inet unix proc exec id", NULL) == -1) err(1, "pledge"); if (uid == 0) { |