Root/toolchain/uClibc/patches-0.9.33/160-mips_signalfd_sfd_nonblock.patch

1From f87898ca4a7d4b7171779c06ff1f4848efeee431 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 30 Jun 2011 07:32:11 +0000
4Subject: mips/signalfd.h: SFD_NONBLOCK for mips is 0200 unlike 04000 commonly
5
6Exposed by udev 171 which uses signalfd
7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9---
10--- a/include/sys/signalfd.h
11+++ b/include/sys/signalfd.h
12@@ -73,6 +73,15 @@ enum
13 # define SFD_NONBLOCK SFD_NONBLOCK
14   };
15 
16+#elif defined __mips__
17+enum
18+ {
19+ SFD_CLOEXEC = 02000000,
20+# define SFD_CLOEXEC SFD_CLOEXEC
21+ SFD_NONBLOCK = 0200
22+# define SFD_NONBLOCK SFD_NONBLOCK
23+ };
24+
25 #else
26 enum
27   {
28

Archive Download this file



interactive