1 /* 2 * This header was generated from the Linux kernel headers by update_headers.py, 3 * to provide necessary information from kernel to userspace, such as constants, 4 * structures, and macros, and thus, contains no copyrightable information. 5 */ 6 #ifndef _UAPI_LINUX_SIGNALFD_H 7 #define _UAPI_LINUX_SIGNALFD_H 8 #include <linux/types.h> 9 #include <linux/fcntl.h> 10 #define SFD_CLOEXEC O_CLOEXEC 11 #define SFD_NONBLOCK O_NONBLOCK 12 struct signalfd_siginfo { 13 __u32 ssi_signo; 14 __s32 ssi_errno; 15 __s32 ssi_code; 16 __u32 ssi_pid; 17 __u32 ssi_uid; 18 __s32 ssi_fd; 19 __u32 ssi_tid; 20 __u32 ssi_band; 21 __u32 ssi_overrun; 22 __u32 ssi_trapno; 23 __s32 ssi_status; 24 __s32 ssi_int; 25 __u64 ssi_ptr; 26 __u64 ssi_utime; 27 __u64 ssi_stime; 28 __u64 ssi_addr; 29 __u16 ssi_addr_lsb; 30 __u16 __pad2; 31 __s32 ssi_syscall; 32 __u64 ssi_call_addr; 33 __u32 ssi_arch; 34 35 __u8 __pad[28]; 36 }; 37 #endif 38