diff options
author | Stuart Henderson <sthen@cvs.openbsd.org> | 2015-11-18 19:59:25 +0000 |
---|---|---|
committer | Stuart Henderson <sthen@cvs.openbsd.org> | 2015-11-18 19:59:25 +0000 |
commit | 71e5daed0f3b9219417546de0f00e23ce1238457 (patch) | |
tree | a975ccdf1f780cea652e10c905be8ed5127b005f /usr.bin/newsyslog | |
parent | 5ead1b1ea69c2e29922522b76c6eaf1105cebf98 (diff) |
don't drop "pledge exec", it's needed for compression. ok deraadt@
Diffstat (limited to 'usr.bin/newsyslog')
-rw-r--r-- | usr.bin/newsyslog/newsyslog.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.bin/newsyslog/newsyslog.c b/usr.bin/newsyslog/newsyslog.c index d2e09b8b90e..2cc2aae9c5c 100644 --- a/usr.bin/newsyslog/newsyslog.c +++ b/usr.bin/newsyslog/newsyslog.c @@ -1,4 +1,4 @@ -/* $OpenBSD: newsyslog.c,v 1.96 2015/11/17 14:51:42 benno Exp $ */ +/* $OpenBSD: newsyslog.c,v 1.97 2015/11/18 19:59:24 sthen Exp $ */ /* * Copyright (c) 1999, 2002, 2003 Todd C. Miller <Todd.Miller@courtesan.com> @@ -201,9 +201,6 @@ main(int argc, char **argv) if (noaction && pledge("stdio rpath", NULL) == -1) err(1,"pledge"); - else if (!monitormode && pledge("stdio rpath wpath cpath fattr proc", - NULL) == -1) - err(1,"pledge"); if (needroot && getuid() && geteuid()) errx(1, "You must be root."); |