=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/newsyslog/newsyslog.c,v retrieving revision 1.97 retrieving revision 1.98 diff -u -r1.97 -r1.98 --- src/usr.bin/newsyslog/newsyslog.c 2015/11/18 19:59:24 1.97 +++ src/usr.bin/newsyslog/newsyslog.c 2015/11/19 08:23:48 1.98 @@ -1,4 +1,4 @@ -/* $OpenBSD: newsyslog.c,v 1.97 2015/11/18 19:59:24 sthen Exp $ */ +/* $OpenBSD: newsyslog.c,v 1.98 2015/11/19 08:23:48 sthen Exp $ */ /* * Copyright (c) 1999, 2002, 2003 Todd C. Miller @@ -191,17 +191,11 @@ struct pidinfo *pidlist, *pl; int status, listlen; char **av; - - if (pledge("stdio rpath wpath cpath fattr exec proc", NULL) == -1) - err(1,"pledge"); parse_args(argc, argv); argc -= optind; argv += optind; - if (noaction && pledge("stdio rpath", NULL) == -1) - err(1,"pledge"); - if (needroot && getuid() && geteuid()) errx(1, "You must be root.");