#include <linux/compiler.h>
#include <linux/types.h>
Go to the source code of this file.
#define SECCOMP_MODE_DISABLED 0 /* seccomp is not in use. */ |
#define SECCOMP_MODE_FILTER 2 /* uses user-supplied filter. */ |
#define SECCOMP_MODE_STRICT 1 /* uses hard-coded filter. */ |
#define SECCOMP_RET_ACTION 0x7fff0000U |
#define SECCOMP_RET_ALLOW 0x7fff0000U /* allow */ |
#define SECCOMP_RET_DATA 0x0000ffffU |
#define SECCOMP_RET_ERRNO 0x00050000U /* returns an errno */ |
#define SECCOMP_RET_KILL 0x00000000U /* kill the task immediately */ |
#define SECCOMP_RET_TRACE 0x7ff00000U /* pass to a tracer or disallow */ |
#define SECCOMP_RET_TRAP 0x00030000U /* disallow and force a SIGSYS */ |