diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-10-22 12:34:26 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-10-22 12:34:26 +0000 |
commit | 91c30b956af6228115458100f4e8701f73b4c0a2 (patch) | |
tree | de4b77010f89c81550163a12119732231900d9ee /usr.sbin/inetd/inetd.c | |
parent | cfcc5ef36929d4d4842c819496aa18bb042019b8 (diff) |
pledge "abort" left behind accidentally
Diffstat (limited to 'usr.sbin/inetd/inetd.c')
-rw-r--r-- | usr.sbin/inetd/inetd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/inetd/inetd.c b/usr.sbin/inetd/inetd.c index a115bbbb3be..e86dc041985 100644 --- a/usr.sbin/inetd/inetd.c +++ b/usr.sbin/inetd/inetd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: inetd.c,v 1.146 2015/10/19 11:52:51 jca Exp $ */ +/* $OpenBSD: inetd.c,v 1.147 2015/10/22 12:34:25 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 proc exec id abort", NULL) == -1) + if (pledge("stdio rpath getpw dns inet proc exec id", NULL) == -1) err(1, "pledge"); if (uid == 0) { @@ -1773,7 +1773,7 @@ spawn(int ctrl, short events, void *xsep) return; } - if (pledge("stdio rpath getpw inet proc exec id abort", NULL) == -1) + if (pledge("stdio rpath getpw inet proc exec id", NULL) == -1) err(1, "pledge"); if (pid && sep->se_wait) { |