diff options
author | kaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-02-08 15:45:44 +0000 |
---|---|---|
committer | kaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-02-08 15:45:44 +0000 |
commit | 46b5da93ea6517543f6c71da6ada118b3dbb2d73 (patch) | |
tree | 603ab06e5e007752fe136ae81de75b03223a32d5 /toolchain/uClibc/patches-0.9.33/160-mips_signalfd_sfd_nonblock.patch | |
parent | d0abad5f540fe40db93d605e122e430c65f0bbbf (diff) |
[toolchain/uClibc]: add 0.9.33
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30374 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/uClibc/patches-0.9.33/160-mips_signalfd_sfd_nonblock.patch')
-rw-r--r-- | toolchain/uClibc/patches-0.9.33/160-mips_signalfd_sfd_nonblock.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/toolchain/uClibc/patches-0.9.33/160-mips_signalfd_sfd_nonblock.patch b/toolchain/uClibc/patches-0.9.33/160-mips_signalfd_sfd_nonblock.patch new file mode 100644 index 0000000000..6d94d32261 --- /dev/null +++ b/toolchain/uClibc/patches-0.9.33/160-mips_signalfd_sfd_nonblock.patch @@ -0,0 +1,27 @@ +From f87898ca4a7d4b7171779c06ff1f4848efeee431 Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Thu, 30 Jun 2011 07:32:11 +0000 +Subject: mips/signalfd.h: SFD_NONBLOCK for mips is 0200 unlike 04000 commonly + +Exposed by udev 171 which uses signalfd + +Signed-off-by: Khem Raj <raj.khem@gmail.com> +--- +--- a/include/sys/signalfd.h ++++ b/include/sys/signalfd.h +@@ -73,6 +73,15 @@ enum + # define SFD_NONBLOCK SFD_NONBLOCK + }; + ++#elif defined __mips__ ++enum ++ { ++ SFD_CLOEXEC = 02000000, ++# define SFD_CLOEXEC SFD_CLOEXEC ++ SFD_NONBLOCK = 0200 ++# define SFD_NONBLOCK SFD_NONBLOCK ++ }; ++ + #else + enum + { |