aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/include/uapi/asm/siginfo.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2012-07-12 17:13:15 +0200
committerRalf Baechle <ralf@linux-mips.org>2013-10-29 21:24:57 +0100
commit51d139b1e481955b7bdd0c8d05d97cf2eb1f5be1 (patch)
tree5265190e8573421df0ebd058ca0ad9172f1574db /arch/mips/include/uapi/asm/siginfo.h
parentMIPS: 64-bit: Mark native syscall table as data object. (diff)
downloadlinux-dev-51d139b1e481955b7bdd0c8d05d97cf2eb1f5be1.tar.xz
linux-dev-51d139b1e481955b7bdd0c8d05d97cf2eb1f5be1.zip
MIPS: Enable entries for SIGSYS in struct siginfo.
This is necessary because MIPS doesn't use HAVE_ARCH_SIGINFO_T for historical reasons. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/uapi/asm/siginfo.h')
-rw-r--r--arch/mips/include/uapi/asm/siginfo.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/mips/include/uapi/asm/siginfo.h b/arch/mips/include/uapi/asm/siginfo.h
index 88e292b7719e..e81174432bab 100644
--- a/arch/mips/include/uapi/asm/siginfo.h
+++ b/arch/mips/include/uapi/asm/siginfo.h
@@ -33,6 +33,8 @@ struct siginfo;
#error _MIPS_SZLONG neither 32 nor 64
#endif
+#define __ARCH_SIGSYS
+
#include <asm-generic/siginfo.h>
typedef struct siginfo {
@@ -97,6 +99,13 @@ typedef struct siginfo {
__ARCH_SI_BAND_T _band; /* POLL_IN, POLL_OUT, POLL_MSG */
int _fd;
} _sigpoll;
+
+ /* SIGSYS */
+ struct {
+ void __user *_call_addr; /* calling user insn */
+ int _syscall; /* triggering system call number */
+ unsigned int _arch; /* AUDIT_ARCH_* of syscall */
+ } _sigsys;
} _sifields;
} siginfo_t;