PERFORCE change 170533 for review

Robert Watson rwatson at FreeBSD.org
Thu Nov 12 11:18:21 UTC 2009


http://p4web.freebsd.org/chv.cgi?CH=170533

Change 170533 by rwatson at rwatson_vimage_client on 2009/11/12 11:17:50

	Allow stderr to print from sandboxes.

Affected files ...

.. //depot/projects/trustedbsd/capabilities/src/tools/cap/sandbox_echo/sandbox_echo.c#10 edit

Differences ...

==== //depot/projects/trustedbsd/capabilities/src/tools/cap/sandbox_echo/sandbox_echo.c#10 (text+ko) ====

@@ -60,7 +60,8 @@
 	if (argc != 1)
 		errx(-1, "usage: sandbox_echo");
 
-	if (lch_start(MYNAME, sandbox_argv, LCH_PERMIT_STDERR, &lcsp) < 0)
+	if (lch_start(MYNAME, sandbox_argv,
+	    LCH_PERMIT_STDOUT | LCH_PERMIT_STDERR, &lcsp) < 0)
 		err(-1, "lch_start %s", argv[1]);
 
 	for (i = 0; i < 10; i++) {


More information about the p4-projects mailing list