diff options
Diffstat (limited to 'include/asm-generic/siginfo.h')
-rw-r--r-- | include/asm-generic/siginfo.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/asm-generic/siginfo.h b/include/asm-generic/siginfo.h index 969570167e9e..c840719a8c59 100644 --- a/include/asm-generic/siginfo.h +++ b/include/asm-generic/siginfo.h | |||
@@ -23,7 +23,7 @@ typedef union sigval { | |||
23 | #endif | 23 | #endif |
24 | 24 | ||
25 | #ifndef __ARCH_SI_UID_T | 25 | #ifndef __ARCH_SI_UID_T |
26 | #define __ARCH_SI_UID_T uid_t | 26 | #define __ARCH_SI_UID_T __kernel_uid32_t |
27 | #endif | 27 | #endif |
28 | 28 | ||
29 | /* | 29 | /* |
@@ -47,13 +47,13 @@ typedef struct siginfo { | |||
47 | 47 | ||
48 | /* kill() */ | 48 | /* kill() */ |
49 | struct { | 49 | struct { |
50 | pid_t _pid; /* sender's pid */ | 50 | __kernel_pid_t _pid; /* sender's pid */ |
51 | __ARCH_SI_UID_T _uid; /* sender's uid */ | 51 | __ARCH_SI_UID_T _uid; /* sender's uid */ |
52 | } _kill; | 52 | } _kill; |
53 | 53 | ||
54 | /* POSIX.1b timers */ | 54 | /* POSIX.1b timers */ |
55 | struct { | 55 | struct { |
56 | timer_t _tid; /* timer id */ | 56 | __kernel_timer_t _tid; /* timer id */ |
57 | int _overrun; /* overrun count */ | 57 | int _overrun; /* overrun count */ |
58 | char _pad[sizeof( __ARCH_SI_UID_T) - sizeof(int)]; | 58 | char _pad[sizeof( __ARCH_SI_UID_T) - sizeof(int)]; |
59 | sigval_t _sigval; /* same as below */ | 59 | sigval_t _sigval; /* same as below */ |
@@ -62,18 +62,18 @@ typedef struct siginfo { | |||
62 | 62 | ||
63 | /* POSIX.1b signals */ | 63 | /* POSIX.1b signals */ |
64 | struct { | 64 | struct { |
65 | pid_t _pid; /* sender's pid */ | 65 | __kernel_pid_t _pid; /* sender's pid */ |
66 | __ARCH_SI_UID_T _uid; /* sender's uid */ | 66 | __ARCH_SI_UID_T _uid; /* sender's uid */ |
67 | sigval_t _sigval; | 67 | sigval_t _sigval; |
68 | } _rt; | 68 | } _rt; |
69 | 69 | ||
70 | /* SIGCHLD */ | 70 | /* SIGCHLD */ |
71 | struct { | 71 | struct { |
72 | pid_t _pid; /* which child */ | 72 | __kernel_pid_t _pid; /* which child */ |
73 | __ARCH_SI_UID_T _uid; /* sender's uid */ | 73 | __ARCH_SI_UID_T _uid; /* sender's uid */ |
74 | int _status; /* exit code */ | 74 | int _status; /* exit code */ |
75 | clock_t _utime; | 75 | __kernel_clock_t _utime; |
76 | clock_t _stime; | 76 | __kernel_clock_t _stime; |
77 | } _sigchld; | 77 | } _sigchld; |
78 | 78 | ||
79 | /* SIGILL, SIGFPE, SIGSEGV, SIGBUS */ | 79 | /* SIGILL, SIGFPE, SIGSEGV, SIGBUS */ |
@@ -201,7 +201,7 @@ typedef struct siginfo { | |||
201 | #define TRAP_TRACE (__SI_FAULT|2) /* process trace trap */ | 201 | #define TRAP_TRACE (__SI_FAULT|2) /* process trace trap */ |
202 | #define TRAP_BRANCH (__SI_FAULT|3) /* process taken branch trap */ | 202 | #define TRAP_BRANCH (__SI_FAULT|3) /* process taken branch trap */ |
203 | #define TRAP_HWBKPT (__SI_FAULT|4) /* hardware breakpoint/watchpoint */ | 203 | #define TRAP_HWBKPT (__SI_FAULT|4) /* hardware breakpoint/watchpoint */ |
204 | #define NSIGTRAP 2 | 204 | #define NSIGTRAP 4 |
205 | 205 | ||
206 | /* | 206 | /* |
207 | * SIGCHLD si_codes | 207 | * SIGCHLD si_codes |