diff options
author | Joseph Myers <joseph@codesourcery.com> | 2016-03-21 16:30:05 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2016-03-21 16:30:05 +0000 |
commit | 238d60ac9b0fb8262b18a44a23d14de4b59f2f23 (patch) | |
tree | 3ee8b0994ef57c9281baabb8f8d62ec27998d7e8 /sysdeps/unix/sysv/linux/kernel-features.h | |
parent | 67b23376fb72cdc3fbef37837f6fb5ebe8f0f034 (diff) | |
download | glibc-238d60ac9b0fb8262b18a44a23d14de4b59f2f23.tar.gz glibc-238d60ac9b0fb8262b18a44a23d14de4b59f2f23.tar.xz glibc-238d60ac9b0fb8262b18a44a23d14de4b59f2f23.zip |
Remove __ASSUME_SIGNALFD4.
Current Linux kernel version requirements mean the signalfd4 syscall can always be assumed to be available. This patch removes __ASSUME_SIGNALFD4 and associated conditionals. Tested for x86_64 and x86 that installed stripped shared libraries are unchanged by the patch. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4): Remove macro. * sysdeps/unix/sysv/linux/signalfd.c: Do not include <kernel-features.h>. (signalfd) [__NR_signalfd4]: Make code unconditional. (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
Diffstat (limited to 'sysdeps/unix/sysv/linux/kernel-features.h')
-rw-r--r-- | sysdeps/unix/sysv/linux/kernel-features.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h index 34a7bd23a2..28195e5629 100644 --- a/sysdeps/unix/sysv/linux/kernel-features.h +++ b/sysdeps/unix/sysv/linux/kernel-features.h @@ -83,7 +83,6 @@ 2.6.27. */ #define __ASSUME_IN_NONBLOCK 1 #define __ASSUME_PIPE2 1 -#define __ASSUME_SIGNALFD4 1 #define __ASSUME_DUP3 1 /* Support for accept4 functionality was added in 2.6.28, but for some |