diff options
| author | James Morris <james.l.morris@oracle.com> | 2012-05-03 22:46:40 -0400 |
|---|---|---|
| committer | James Morris <james.l.morris@oracle.com> | 2012-05-03 22:46:40 -0400 |
| commit | 898bfc1d46bd76f8ea2a0fbd239dd2073efe2aa3 (patch) | |
| tree | e6e666085abe674dbf6292555961fe0a0f2e2d2f /include/asm-generic | |
| parent | 08162e6a23d476544adfe1164afe9ea8b34ab859 (diff) | |
| parent | 69964ea4c7b68c9399f7977aa5b9aa6539a6a98a (diff) | |
Merge tag 'v3.4-rc5' into next
Linux 3.4-rc5
Merge to pull in prerequisite change for Smack:
86812bb0de1a3758dc6c7aa01a763158a7c0638a
Requested by Casey.
Diffstat (limited to 'include/asm-generic')
| -rw-r--r-- | include/asm-generic/siginfo.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/include/asm-generic/siginfo.h b/include/asm-generic/siginfo.h index af5d0350f84c..8ed67779fc09 100644 --- a/include/asm-generic/siginfo.h +++ b/include/asm-generic/siginfo.h | |||
| @@ -35,6 +35,14 @@ typedef union sigval { | |||
| 35 | #define __ARCH_SI_BAND_T long | 35 | #define __ARCH_SI_BAND_T long |
| 36 | #endif | 36 | #endif |
| 37 | 37 | ||
| 38 | #ifndef __ARCH_SI_CLOCK_T | ||
| 39 | #define __ARCH_SI_CLOCK_T __kernel_clock_t | ||
| 40 | #endif | ||
| 41 | |||
| 42 | #ifndef __ARCH_SI_ATTRIBUTES | ||
| 43 | #define __ARCH_SI_ATTRIBUTES | ||
| 44 | #endif | ||
| 45 | |||
| 38 | #ifndef HAVE_ARCH_SIGINFO_T | 46 | #ifndef HAVE_ARCH_SIGINFO_T |
| 39 | 47 | ||
| 40 | typedef struct siginfo { | 48 | typedef struct siginfo { |
| @@ -72,8 +80,8 @@ typedef struct siginfo { | |||
| 72 | __kernel_pid_t _pid; /* which child */ | 80 | __kernel_pid_t _pid; /* which child */ |
| 73 | __ARCH_SI_UID_T _uid; /* sender's uid */ | 81 | __ARCH_SI_UID_T _uid; /* sender's uid */ |
| 74 | int _status; /* exit code */ | 82 | int _status; /* exit code */ |
| 75 | __kernel_clock_t _utime; | 83 | __ARCH_SI_CLOCK_T _utime; |
| 76 | __kernel_clock_t _stime; | 84 | __ARCH_SI_CLOCK_T _stime; |
| 77 | } _sigchld; | 85 | } _sigchld; |
| 78 | 86 | ||
| 79 | /* SIGILL, SIGFPE, SIGSEGV, SIGBUS */ | 87 | /* SIGILL, SIGFPE, SIGSEGV, SIGBUS */ |
| @@ -98,7 +106,7 @@ typedef struct siginfo { | |||
| 98 | unsigned int _arch; /* AUDIT_ARCH_* of syscall */ | 106 | unsigned int _arch; /* AUDIT_ARCH_* of syscall */ |
| 99 | } _sigsys; | 107 | } _sigsys; |
| 100 | } _sifields; | 108 | } _sifields; |
| 101 | } siginfo_t; | 109 | } __ARCH_SI_ATTRIBUTES siginfo_t; |
| 102 | 110 | ||
| 103 | /* If the arch shares siginfo, then it has SIGSYS. */ | 111 | /* If the arch shares siginfo, then it has SIGSYS. */ |
| 104 | #define __ARCH_SIGSYS | 112 | #define __ARCH_SIGSYS |
