Use O_CLOEXEC for internal file descriptors
authorAdam Jackson <ajax@redhat.com>
Mon, 27 Feb 2012 16:19:50 +0000 (11:19 -0500)
committerAdam Jackson <ajax@redhat.com>
Mon, 27 Feb 2012 22:09:01 +0000 (17:09 -0500)
commitd2dc9f9daa45504f035b169aba94d0b154fd29f0
tree28ccca7fd1ab27a208a9fbd73306c922d19dac86
parentf550c1347d3518874fe1c1d417a57322ee6b52db
Use O_CLOEXEC for internal file descriptors

Well, almost all of them.  zlib doesn't support "e" in the mode string
in gzopen() though it will silently accept and ignore it, and Solaris appears
not to support "e" in the mode string at all.

Signed-off-by: Adam Jackson <ajax@redhat.com>
configure.ac
src/common_device_name.c
src/common_vgaarb.c
src/freebsd_pci.c
src/linux_sysfs.c
src/netbsd_pci.c
src/openbsd_pci.c
src/pciaccess_private.h
src/solx_devfs.c
src/x86_pci.c