Go to the documentation of this file. 1 #ifndef _UAPI_LINUX_SECCOMP_H
2 #define _UAPI_LINUX_SECCOMP_H
4 #include <linux/compiler.h>
5 #include <linux/types.h>
9 #define SECCOMP_MODE_DISABLED 0
10 #define SECCOMP_MODE_STRICT 1
11 #define SECCOMP_MODE_FILTER 2
21 #define SECCOMP_RET_KILL 0x00000000U
22 #define SECCOMP_RET_TRAP 0x00030000U
23 #define SECCOMP_RET_ERRNO 0x00050000U
24 #define SECCOMP_RET_TRACE 0x7ff00000U
25 #define SECCOMP_RET_ALLOW 0x7fff0000U
28 #define SECCOMP_RET_ACTION 0x7fff0000U
29 #define SECCOMP_RET_DATA 0x0000ffffU