diff options
Diffstat (limited to 'libc/kernel/uapi/linux/seccomp.h')
-rw-r--r-- | libc/kernel/uapi/linux/seccomp.h | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/libc/kernel/uapi/linux/seccomp.h b/libc/kernel/uapi/linux/seccomp.h index 907895e..7c0a51a 100644 --- a/libc/kernel/uapi/linux/seccomp.h +++ b/libc/kernel/uapi/linux/seccomp.h @@ -24,21 +24,25 @@ #define SECCOMP_MODE_DISABLED 0 #define SECCOMP_MODE_STRICT 1 #define SECCOMP_MODE_FILTER 2 -#define SECCOMP_RET_KILL 0x00000000U +#define SECCOMP_SET_MODE_STRICT 0 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define SECCOMP_SET_MODE_FILTER 1 +#define SECCOMP_FILTER_FLAG_TSYNC 1 +#define SECCOMP_RET_KILL 0x00000000U #define SECCOMP_RET_TRAP 0x00030000U +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define SECCOMP_RET_ERRNO 0x00050000U #define SECCOMP_RET_TRACE 0x7ff00000U #define SECCOMP_RET_ALLOW 0x7fff0000U -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define SECCOMP_RET_ACTION 0x7fff0000U +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define SECCOMP_RET_DATA 0x0000ffffU struct seccomp_data { - int nr; + int nr; + __u32 arch; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - __u32 arch; - __u64 instruction_pointer; - __u64 args[6]; + __u64 instruction_pointer; + __u64 args[6]; }; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #endif +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |