svn commit: r306673 - head/lib/libcapsicum

Mariusz Zaborski oshogbo at FreeBSD.org
Tue Oct 4 13:33:45 UTC 2016


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);
 	}
 


More information about the svn-src-head mailing list