On Sun, Nov 12, 2017 at 11:08:54AM +0000, George Brown wrote: > 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");
I did this in an eager way a while back, was told in no uncertain terms "not yet, we're still looking at things". Well, see pledge(2). Whenever the dust settles, sure we can kill this line, or activate it instead. Dust is not yet settled.