[git commit] mips/signalfd.h: SFD_NONBLOCK for mips is 0200 unlike 04000 commonly
Khem Raj
raj.khem at gmail.com
Fri Jul 1 21:50:15 UTC 2011
commit: http://git.uclibc.org/uClibc/commit/?id=f87898ca4a7d4b7171779c06ff1f4848efeee431
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
Exposed by udev 171 which uses signalfd
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
include/sys/signalfd.h | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/include/sys/signalfd.h b/include/sys/signalfd.h
index 8cee17c..f1cb63a 100644
--- a/include/sys/signalfd.h
+++ b/include/sys/signalfd.h
@@ -64,6 +64,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
{
--
1.7.3.4
More information about the uClibc-cvs
mailing list