Author: oshogbo
Date: Tue Oct 4 13:33:43 2016
New Revision: 306673
URL: https://svnweb.freebsd.org/changeset/base/306673
Log:
libcapsicum: limit stderr
Don't limit stdout twice, instead limit stderr.
Pointed out by: rpokala@
Modified:
head/lib/libcapsicum/capsicum_helpers.h
Modified: head/lib/libcapsicum/capsicum_helpers.h
==============================================================================
--- head/lib/libcapsicum/capsicum_helpers.h Tue Oct 4 12:25:44 2016
(r306672)
+++ head/lib/libcapsicum/capsicum_helpers.h Tue Oct 4 13:33:43 2016
(r306673)
@@ -96,7 +96,7 @@ caph_limit_stdio(void)
{
if (caph_limit_stdin() == -1 || caph_limit_stdout() == -1 ||
- caph_limit_stdout() == -1) {
+ caph_limit_stderr() == -1) {
return (-1);
}
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"