Garrett D'Amore wrote:

>  (If posix_spawn is too hard, then so are the _xv and _x
> versions!)
> 

I'm afraid I missed this comment when I closed the discussion yesterday,
but I'm curious why you think so.

I'd like to share an example on how system_noshell() compares with
posix_spawn() (several people on the alias asked for a real world use
case) before taking this off.

The attached file includes partial code to implement same functionality
(currently using system(3C) in Nevada) with posix_spawn() and
system_noshell(), along with the discussed security enhancements.

-Sumanth
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: use_case.txt
URL: 
<http://mail.opensolaris.org/pipermail/opensolaris-arc/attachments/20090530/8918e467/attachment.txt>

Reply via email to