[PATCH] Open /etc/resolv.conf with FD_CLOEXEC
Ross Lagerwall
rosslagerwall@gmail.com
Mon Nov 21 17:34:00 GMT 2011
Hello,
As per the comment for 312be3f9f, "c" and "e" should always be used for
internal fopen usage. This patch adds "e" for /etc/resolv.conf.
Ross
2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
* resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
FD_CLOEXEC.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fd_cloexec.patch
Type: text/x-patch
Size: 494 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20111121/629be845/attachment.bin>
More information about the Libc-alpha
mailing list