blob: 928021fe204947186927cd963e53d58a3701f46e [file] [log] [blame]
Elliott Hughes180edef2023-11-02 00:08:05 +00001/*
2 * This file is auto-generated. Modifications will be lost.
3 *
4 * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5 * for more information.
6 */
Ben Cheng655a7c02013-10-16 16:09:24 -07007#ifndef _UAPI_LINUX_SIGNALFD_H
8#define _UAPI_LINUX_SIGNALFD_H
9#include <linux/types.h>
10#include <linux/fcntl.h>
Ben Cheng655a7c02013-10-16 16:09:24 -070011#define SFD_CLOEXEC O_CLOEXEC
12#define SFD_NONBLOCK O_NONBLOCK
13struct signalfd_siginfo {
Tao Baod7db5942015-01-28 10:07:51 -080014 __u32 ssi_signo;
Tao Baod7db5942015-01-28 10:07:51 -080015 __s32 ssi_errno;
16 __s32 ssi_code;
17 __u32 ssi_pid;
18 __u32 ssi_uid;
Tao Baod7db5942015-01-28 10:07:51 -080019 __s32 ssi_fd;
20 __u32 ssi_tid;
21 __u32 ssi_band;
22 __u32 ssi_overrun;
Tao Baod7db5942015-01-28 10:07:51 -080023 __u32 ssi_trapno;
24 __s32 ssi_status;
25 __s32 ssi_int;
26 __u64 ssi_ptr;
Tao Baod7db5942015-01-28 10:07:51 -080027 __u64 ssi_utime;
28 __u64 ssi_stime;
29 __u64 ssi_addr;
30 __u16 ssi_addr_lsb;
Christopher Ferrisa981e2e2018-10-25 12:11:39 -070031 __u16 __pad2;
32 __s32 ssi_syscall;
33 __u64 ssi_call_addr;
34 __u32 ssi_arch;
35 __u8 __pad[28];
Ben Cheng655a7c02013-10-16 16:09:24 -070036};
Nick Kralevicha67e4de2013-01-14 11:28:26 -080037#endif