2009/327 [system_noshell]
Sumanth Naropanth
Sumanth.Naropanth at Sun.COM
Sat May 30 07:26:29 PDT 2009
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>
More information about the opensolaris-arc
mailing list