diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/signalfd.h | 5 | ||||
-rw-r--r-- | include/linux/syscalls.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/signalfd.h b/include/linux/signalfd.h index ea037f28df91..8b3f7b7420a1 100644 --- a/include/linux/signalfd.h +++ b/include/linux/signalfd.h | |||
@@ -8,6 +8,11 @@ | |||
8 | #ifndef _LINUX_SIGNALFD_H | 8 | #ifndef _LINUX_SIGNALFD_H |
9 | #define _LINUX_SIGNALFD_H | 9 | #define _LINUX_SIGNALFD_H |
10 | 10 | ||
11 | /* For O_CLOEXEC */ | ||
12 | #include <linux/fcntl.h> | ||
13 | |||
14 | /* Flags for signalfd4. */ | ||
15 | #define SFD_CLOEXEC O_CLOEXEC | ||
11 | 16 | ||
12 | struct signalfd_siginfo { | 17 | struct signalfd_siginfo { |
13 | __u32 ssi_signo; | 18 | __u32 ssi_signo; |
diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h index 2a2a40af6b2c..1c2707797845 100644 --- a/include/linux/syscalls.h +++ b/include/linux/syscalls.h | |||
@@ -610,6 +610,7 @@ asmlinkage long sys_set_robust_list(struct robust_list_head __user *head, | |||
610 | size_t len); | 610 | size_t len); |
611 | asmlinkage long sys_getcpu(unsigned __user *cpu, unsigned __user *node, struct getcpu_cache __user *cache); | 611 | asmlinkage long sys_getcpu(unsigned __user *cpu, unsigned __user *node, struct getcpu_cache __user *cache); |
612 | asmlinkage long sys_signalfd(int ufd, sigset_t __user *user_mask, size_t sizemask); | 612 | asmlinkage long sys_signalfd(int ufd, sigset_t __user *user_mask, size_t sizemask); |
613 | asmlinkage long sys_signalfd4(int ufd, sigset_t __user *user_mask, size_t sizemask, int flags); | ||
613 | asmlinkage long sys_timerfd_create(int clockid, int flags); | 614 | asmlinkage long sys_timerfd_create(int clockid, int flags); |
614 | asmlinkage long sys_timerfd_settime(int ufd, int flags, | 615 | asmlinkage long sys_timerfd_settime(int ufd, int flags, |
615 | const struct itimerspec __user *utmr, | 616 | const struct itimerspec __user *utmr, |