Removes commented out pledge with whitelist, this is the only instance I
found of this grep'ing through base.

diff --git usr.bin/tsort/tsort.c usr.bin/tsort/tsort.c
index 5caa733f4..cc1cba164 100644
--- usr.bin/tsort/tsort.c
+++ usr.bin/tsort/tsort.c
@@ -879,7 +879,6 @@ parse_args(int argc, char *argv[], struct ohash *pairs)

     files[i] = NULL;

-/*    if (pledge("stdio rpath", files) == -1) */
     if (pledge("stdio rpath", NULL) == -1)
         err(1, "pledge");

Reply via email to