Author: oshogbo
Date: Mon Nov 12 18:01:36 2018
New Revision: 340377
URL: https://svnweb.freebsd.org/changeset/base/340377
Log:
wc: We should sandbox wc only if Capers is available.
Modified:
head/usr.bin/wc/wc.c
Modified: head/usr.bin/wc/wc.c
==============================================================================
--- head/usr.bin/wc/wc.c Mon Nov 12 17:59:15 2018 (r340376)
+++ head/usr.bin/wc/wc.c Mon Nov 12 18:01:36 2018 (r340377)
@@ -146,7 +146,7 @@ main(int argc, char *argv[])
exit(1);
}
- if (caph_enter() < 0) {
+ if (caph_enter_with_casper() < 0) {
xo_warn("Unable to enter capability mode");
fileargs_free(fa);
exit(1);
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"