eudev/src
Richard Yao bfc850a01b Add fallback path when accept4() is not available.
Commit ff2c503df0 introduced accept4() into
udev, which broke compatibility with kernels older than Linux 2.6.32 (or
Linux 2.6.36 on ARM). The purpose of accept4() is to permit
O_NONBLOCK and O_CLOEXEC to be specified at the accept() call site
while previously, they had to be set using fcntl() because Linux does
not inherit them.

Since accept4() increases the minimum kernel version, we add a fallback
path for situations in which it is unavailable.

Reported-by: Stephen Klimaszewski <steev@gentoo.org>
Signed-off-by: Richard Yao <ryao@gentoo.org>
2012-12-08 09:48:07 -05:00
..
accelerometer Fix paths: test/udev-test.pl now works under sudo make distcheck 2012-11-24 23:47:06 -05:00
ata_id Fix paths: test/udev-test.pl now works under sudo make distcheck 2012-11-24 23:47:06 -05:00
cdrom_id Fix paths: test/udev-test.pl now works under sudo make distcheck 2012-11-24 23:47:06 -05:00
collect Fix paths: test/udev-test.pl now works under sudo make distcheck 2012-11-24 23:47:06 -05:00
gudev Use udev version instead of eudev version for compatibility 2012-12-02 16:55:22 -05:00
keymap Add $(BUILT_SOURCES) to src/keymap/Makefile.am's CLEANFILES variable. 2012-11-26 23:52:18 -05:00
libudev Use udev version instead of eudev version for compatibility 2012-12-02 16:55:22 -05:00
mtd_probe Fix paths: test/udev-test.pl now works under sudo make distcheck 2012-11-24 23:47:06 -05:00
scsi_id Fix paths: test/udev-test.pl now works under sudo make distcheck 2012-11-24 23:47:06 -05:00
udev Add fallback path when accept4() is not available. 2012-12-08 09:48:07 -05:00
v4l_id Fix paths: test/udev-test.pl now works under sudo make distcheck 2012-11-24 23:47:06 -05:00
Makefile.am Fix up building gudev and introspection under make distcheck 2012-11-25 19:44:28 -05:00