... having taught the latter that si_errno and si_code might be swapped.
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -48,8 +48,13 @@ typedef union sigval { · 47 unmodified lines | |||
| 48 | 48 | ||
| 49 | typedef struct siginfo { | 49 | typedef struct siginfo { |
| 50 | int si_signo; | 50 | int si_signo; |
| 51 | #ifndef __ARCH_HAS_SWAPPED_SIGINFO | ||
| 51 | int si_errno; | 52 | int si_errno; |
| 52 | int si_code; | 53 | int si_code; |
| 54 | #else | ||
| 55 | int si_code; | ||
| 56 | int si_errno; | ||
| 57 | #endif | ||
| 53 | 58 | ||
| 54 | union { | 59 | union { |
| 55 | int _pad[SI_PAD_SIZE]; | 60 | int _pad[SI_PAD_SIZE]; |