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 _ASM_SIGINFO_H 20 #define _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 #define HAVE_ARCH_COPY_SIGINFO 26 struct siginfo; 27 #include <asm-generic/siginfo.h> 28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29 typedef struct siginfo { 30 int si_signo; 31 int si_code; 32 int si_errno; 33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34 int __pad0[SI_MAX_SIZE / sizeof(int) - SI_PAD_SIZE - 3]; 35 union { 36 int _pad[SI_PAD_SIZE]; 37 struct { 38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39 pid_t _pid; 40 __ARCH_SI_UID_T _uid; 41 } _kill; 42 struct { 43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44 timer_t _tid; 45 int _overrun; 46 char _pad[sizeof( __ARCH_SI_UID_T) - sizeof(int)]; 47 sigval_t _sigval; 48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49 int _sys_private; 50 } _timer; 51 struct { 52 pid_t _pid; 53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 54 __ARCH_SI_UID_T _uid; 55 sigval_t _sigval; 56 } _rt; 57 struct { 58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 59 pid_t _pid; 60 __ARCH_SI_UID_T _uid; 61 int _status; 62 clock_t _utime; 63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 64 clock_t _stime; 65 } _sigchld; 66 struct { 67 pid_t _pid; 68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 69 clock_t _utime; 70 int _status; 71 clock_t _stime; 72 } _irix_sigchld; 73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 74 struct { 75 void __user *_addr; 76 #ifdef __ARCH_SI_TRAPNO 77 int _trapno; 78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 79 #endif 80 } _sigfault; 81 struct { 82 __ARCH_SI_BAND_T _band; 83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 84 int _fd; 85 } _sigpoll; 86 } _sifields; 87 } siginfo_t; 88 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 89 #undef SI_ASYNCIO 90 #undef SI_TIMER 91 #undef SI_MESGQ 92 #define SI_ASYNCIO -2 93 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 94 #define SI_TIMER __SI_CODE(__SI_TIMER, -3) 95 #define SI_MESGQ __SI_CODE(__SI_MESGQ, -4) 96 #endif 97