aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/asm-generic/siginfo.h2
-rw-r--r--include/linux/seccomp.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-generic/siginfo.h b/include/asm-generic/siginfo.h
index 31306f55eb02..af5d0350f84c 100644
--- a/include/asm-generic/siginfo.h
+++ b/include/asm-generic/siginfo.h
@@ -93,7 +93,7 @@ typedef struct siginfo {
93 93
94 /* SIGSYS */ 94 /* SIGSYS */
95 struct { 95 struct {
96 void __user *_call_addr; /* calling insn */ 96 void __user *_call_addr; /* calling user insn */
97 int _syscall; /* triggering system call number */ 97 int _syscall; /* triggering system call number */
98 unsigned int _arch; /* AUDIT_ARCH_* of syscall */ 98 unsigned int _arch; /* AUDIT_ARCH_* of syscall */
99 } _sigsys; 99 } _sigsys;
diff --git a/include/linux/seccomp.h b/include/linux/seccomp.h
index b4ce2c816e06..317ccb78cf40 100644
--- a/include/linux/seccomp.h
+++ b/include/linux/seccomp.h
@@ -19,6 +19,7 @@
19 * selects the least permissive choice. 19 * selects the least permissive choice.
20 */ 20 */
21#define SECCOMP_RET_KILL 0x00000000U /* kill the task immediately */ 21#define SECCOMP_RET_KILL 0x00000000U /* kill the task immediately */
22#define SECCOMP_RET_TRAP 0x00030000U /* disallow and force a SIGSYS */
22#define SECCOMP_RET_ERRNO 0x00050000U /* returns an errno */ 23#define SECCOMP_RET_ERRNO 0x00050000U /* returns an errno */
23#define SECCOMP_RET_ALLOW 0x7fff0000U /* allow */ 24#define SECCOMP_RET_ALLOW 0x7fff0000U /* allow */
24 25