1 /**************************************************************************** 2 **************************************************************************** 3 *** 4 *** This header was automatically generated from a Linux kernel header 5 *** of the same name, to make information necessary for userspace to 6 *** call into the kernel available to libc. It contains only constants, 7 *** structures, and macros generated from the original header, and thus, 8 *** contains no copyrightable information. 9 *** 10 *** To edit the content of this header, modify the corresponding 11 *** source file (e.g. under external/kernel-headers/original/) then 12 *** run bionic/libc/kernel/tools/update_all.py 13 *** 14 *** Any manual change here will be lost the next time this script will 15 *** be run. You've been warned! 16 *** 17 **************************************************************************** 18 ****************************************************************************/ 19 #ifndef _UAPI_ASM_SIGINFO_H 20 #define _UAPI_ASM_SIGINFO_H 21 #define __ARCH_SIGEV_PREAMBLE_SIZE (sizeof(long) + 2 * sizeof(int)) 22 #undef __ARCH_SI_TRAPNO 23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 24 #define HAVE_ARCH_SIGINFO_T 25 #if _MIPS_SZLONG == 32 26 #define __ARCH_SI_PREAMBLE_SIZE (3 * sizeof(int)) 27 #elif _MIPS_SZLONG==64 28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29 #define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int)) 30 #else 31 #error _MIPS_SZLONG neither 32 nor 64 32 #endif 33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34 #define __ARCH_SIGSYS 35 #include <asm-generic/siginfo.h> 36 typedef struct siginfo { 37 int si_signo; 38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39 int si_code; 40 int si_errno; 41 int __pad0[SI_MAX_SIZE / sizeof(int) - SI_PAD_SIZE - 3]; 42 union { 43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44 int _pad[SI_PAD_SIZE]; 45 struct { 46 pid_t _pid; 47 __ARCH_SI_UID_T _uid; 48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49 } _kill; 50 struct { 51 timer_t _tid; 52 int _overrun; 53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 54 char _pad[sizeof(__ARCH_SI_UID_T) - sizeof(int)]; 55 sigval_t _sigval; 56 int _sys_private; 57 } _timer; 58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 59 struct { 60 pid_t _pid; 61 __ARCH_SI_UID_T _uid; 62 sigval_t _sigval; 63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 64 } _rt; 65 struct { 66 pid_t _pid; 67 __ARCH_SI_UID_T _uid; 68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 69 int _status; 70 clock_t _utime; 71 clock_t _stime; 72 } _sigchld; 73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 74 struct { 75 pid_t _pid; 76 clock_t _utime; 77 int _status; 78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 79 clock_t _stime; 80 } _irix_sigchld; 81 struct { 82 void __user * _addr; 83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 84 #ifdef __ARCH_SI_TRAPNO 85 int _trapno; 86 #endif 87 short _addr_lsb; 88 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 89 struct { 90 void __user * _lower; 91 void __user * _upper; 92 } _addr_bnd; 93 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 94 } _sigfault; 95 struct { 96 __ARCH_SI_BAND_T _band; 97 int _fd; 98 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 99 } _sigpoll; 100 struct { 101 void __user * _call_addr; 102 int _syscall; 103 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 104 unsigned int _arch; 105 } _sigsys; 106 } _sifields; 107 } siginfo_t; 108 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 109 #undef SI_ASYNCIO 110 #undef SI_TIMER 111 #undef SI_MESGQ 112 #define SI_ASYNCIO - 2 113 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 114 #define SI_TIMER __SI_CODE(__SI_TIMER, - 3) 115 #define SI_MESGQ __SI_CODE(__SI_MESGQ, - 4) 116 #include <asm-generic/siginfo.h> 117 #endif 118 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 119