On 06/17/12 03:09 PM, Alan Coopersmith wrote:
> On 06/17/12 03:00 PM, ольга крыжановская wrote:
>> Linux doesn't seem to have F_DUP2FD_CLOEXEC.
> 
> Does it have F_DUP2FD?   According to the CR for that change, both F_DUPFD &
> F_DUPFD_CLOEXEC are defined by POSIX, but F_DUP2FD & F_DUP2FD_CLOEXEC are
> non-standard extensions.

Ah, I see Linux provided it's own extension to the API instead,
dup3() which takes a O_CLOEXEC flag, as described in:
http://udrepper.livejournal.com/20407.html

-- 
        -Alan Coopersmith-              [email protected]
         Oracle Solaris Engineering - http://blogs.oracle.com/alanc
_______________________________________________
security-discuss mailing list
[email protected]

Reply via email to