summaryrefslogtreecommitdiff
path: root/usr.bin/tsort
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2016-01-05 16:10:58 +0000
committerMarc Espie <espie@cvs.openbsd.org>2016-01-05 16:10:58 +0000
commit406b85bdf488617e375c47e9bdc7a030ce3f96bd (patch)
tree59ddc49ffe566e2b8031c741a75f766277eda5ed /usr.bin/tsort
parentd2dcee5d730433043f9989aac01620c57f66d200 (diff)
stuff may still change, disable whitelist for now.
ok semarie@
Diffstat (limited to 'usr.bin/tsort')
-rw-r--r--usr.bin/tsort/tsort.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/tsort/tsort.c b/usr.bin/tsort/tsort.c
index e3a8135f27e..08258135bfd 100644
--- a/usr.bin/tsort/tsort.c
+++ b/usr.bin/tsort/tsort.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tsort.c,v 1.34 2015/12/31 18:00:41 millert Exp $ */
+/* $OpenBSD: tsort.c,v 1.35 2016/01/05 16:10:57 espie Exp $ */
/* ex:ts=8 sw=4:
*
* Copyright (c) 1999-2004 Marc Espie <espie@openbsd.org>
@@ -879,7 +879,8 @@ parse_args(int argc, char *argv[], struct ohash *pairs)
files[i] = NULL;
- if (pledge("stdio rpath", files) == -1)
+/* if (pledge("stdio rpath", files) == -1) */
+ if (pledge("stdio rpath", NULL) == -1)
err(1, "pledge");
nodes_init(pairs);