PERFORCE change 170533 for review

View: New views
1 Messages — Rating Filter:   Alert me  

PERFORCE change 170533 for review

by Robert Watson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Change 170533 by rwatson@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++) {
_______________________________________________
p4-projects@... mailing list
http://lists.freebsd.org/mailman/listinfo/p4-projects
To unsubscribe, send any mail to "p4-projects-unsubscribe@..."