close-on-exec

Ángel González ingenit at zoho.com
Wed Feb 25 13:43:09 PST 2015


On 25/02/15 22:24, Thomas Klausner wrote:
> I don't know what the proper way to do this portably, but this is
> the diff we currently have in NetBSD's xsrc for xsm to close file
> descriptors on exec.
>
> I see that glibc added fopen's "e" flag for 2.7 (in 2007). No idea
> about other operating systems, the flag was new to me too :)
>
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel

I dont't think there could be a smaller diff :)
(filtered by the ml?)




More information about the xorg-devel mailing list