diff options
Diffstat (limited to 'libc/kernel/uapi/asm-generic/siginfo.h')
-rw-r--r-- | libc/kernel/uapi/asm-generic/siginfo.h | 59 |
1 files changed, 34 insertions, 25 deletions
diff --git a/libc/kernel/uapi/asm-generic/siginfo.h b/libc/kernel/uapi/asm-generic/siginfo.h index 2083fa10a..ad5452993 100644 --- a/libc/kernel/uapi/asm-generic/siginfo.h +++ b/libc/kernel/uapi/asm-generic/siginfo.h @@ -94,6 +94,11 @@ typedef struct siginfo { int _trapno; #endif short _addr_lsb; + struct { +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + void __user * _lower; + void __user * _upper; + } _addr_bnd; } _sigfault; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ struct { @@ -132,129 +137,133 @@ typedef struct siginfo { #endif /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define si_addr_lsb _sifields._sigfault._addr_lsb +#define si_lower _sifields._sigfault._addr_bnd._lower +#define si_upper _sifields._sigfault._addr_bnd._upper #define si_band _sifields._sigpoll._band +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define si_fd _sifields._sigpoll._fd #ifdef __ARCH_SIGSYS -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define si_call_addr _sifields._sigsys._call_addr #define si_syscall _sifields._sigsys._syscall +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define si_arch _sifields._sigsys._arch #endif -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __SI_KILL 0 #define __SI_TIMER 0 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __SI_POLL 0 #define __SI_FAULT 0 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __SI_CHLD 0 #define __SI_RT 0 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __SI_MESGQ 0 #define __SI_SYS 0 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __SI_CODE(T,N) (N) #define SI_USER 0 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define SI_KERNEL 0x80 #define SI_QUEUE - 1 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define SI_TIMER __SI_CODE(__SI_TIMER, - 2) #define SI_MESGQ __SI_CODE(__SI_MESGQ, - 3) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define SI_ASYNCIO - 4 #define SI_SIGIO - 5 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define SI_TKILL - 6 #define SI_DETHREAD - 7 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define SI_FROMUSER(siptr) ((siptr)->si_code <= 0) #define SI_FROMKERNEL(siptr) ((siptr)->si_code > 0) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define ILL_ILLOPC (__SI_FAULT | 1) #define ILL_ILLOPN (__SI_FAULT | 2) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define ILL_ILLADR (__SI_FAULT | 3) #define ILL_ILLTRP (__SI_FAULT | 4) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define ILL_PRVOPC (__SI_FAULT | 5) #define ILL_PRVREG (__SI_FAULT | 6) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define ILL_COPROC (__SI_FAULT | 7) #define ILL_BADSTK (__SI_FAULT | 8) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define NSIGILL 8 #define FPE_INTDIV (__SI_FAULT | 1) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define FPE_INTOVF (__SI_FAULT | 2) #define FPE_FLTDIV (__SI_FAULT | 3) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define FPE_FLTOVF (__SI_FAULT | 4) #define FPE_FLTUND (__SI_FAULT | 5) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define FPE_FLTRES (__SI_FAULT | 6) #define FPE_FLTINV (__SI_FAULT | 7) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define FPE_FLTSUB (__SI_FAULT | 8) #define NSIGFPE 8 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define SEGV_MAPERR (__SI_FAULT | 1) #define SEGV_ACCERR (__SI_FAULT | 2) +#define SEGV_BNDERR (__SI_FAULT | 3) +#define NSIGSEGV 3 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define NSIGSEGV 2 #define BUS_ADRALN (__SI_FAULT | 1) #define BUS_ADRERR (__SI_FAULT | 2) #define BUS_OBJERR (__SI_FAULT | 3) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define BUS_MCEERR_AR (__SI_FAULT | 4) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define BUS_MCEERR_AO (__SI_FAULT | 5) #define NSIGBUS 5 #define TRAP_BRKPT (__SI_FAULT | 1) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define TRAP_TRACE (__SI_FAULT | 2) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define TRAP_BRANCH (__SI_FAULT | 3) #define TRAP_HWBKPT (__SI_FAULT | 4) #define NSIGTRAP 4 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define CLD_EXITED (__SI_CHLD | 1) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define CLD_KILLED (__SI_CHLD | 2) #define CLD_DUMPED (__SI_CHLD | 3) #define CLD_TRAPPED (__SI_CHLD | 4) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define CLD_STOPPED (__SI_CHLD | 5) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define CLD_CONTINUED (__SI_CHLD | 6) #define NSIGCHLD 6 #define POLL_IN (__SI_POLL | 1) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define POLL_OUT (__SI_POLL | 2) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define POLL_MSG (__SI_POLL | 3) #define POLL_ERR (__SI_POLL | 4) #define POLL_PRI (__SI_POLL | 5) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define POLL_HUP (__SI_POLL | 6) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define NSIGPOLL 6 #define SYS_SECCOMP (__SI_SYS | 1) #define NSIGSYS 1 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define SIGEV_SIGNAL 0 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define SIGEV_NONE 1 #define SIGEV_THREAD 2 #define SIGEV_THREAD_ID 4 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #ifndef __ARCH_SIGEV_PREAMBLE_SIZE +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __ARCH_SIGEV_PREAMBLE_SIZE (sizeof(int) * 2 + sizeof(sigval_t)) #endif #define SIGEV_MAX_SIZE 64 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define SIGEV_PAD_SIZE ((SIGEV_MAX_SIZE - __ARCH_SIGEV_PREAMBLE_SIZE) / sizeof(int)) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ typedef struct sigevent { sigval_t sigev_value; int sigev_signo; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ int sigev_notify; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ union { int _pad[SIGEV_PAD_SIZE]; int _tid; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ struct { +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ void(* _function) (sigval_t); void * _attribute; } _sigev_thread; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ } _sigev_un; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ } sigevent_t; #define sigev_notify_function _sigev_un._sigev_thread._function #define sigev_notify_attributes _sigev_un._sigev_thread._attribute -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define sigev_notify_thread_id _sigev_un._tid +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #endif |