summaryrefslogtreecommitdiffstats
path: root/libc/kernel/uapi/linux/seccomp.h
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2015-01-26 10:57:07 -0800
committerChristopher Ferris <cferris@google.com>2015-01-26 10:57:07 -0800
commit82d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0f (patch)
tree2d3e27eac5a493892ef219628b1ebdc98349b948 /libc/kernel/uapi/linux/seccomp.h
parent7f3d65de8cf2920981d73adee278c0d7bee79170 (diff)
downloadbionic-82d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0f.zip
bionic-82d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0f.tar.gz
bionic-82d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0f.tar.bz2
Update kernel headers to v3.18.3.
Bug: 19127803 Change-Id: I67fa0832322ddd0032d909476047578be052bcf2
Diffstat (limited to 'libc/kernel/uapi/linux/seccomp.h')
-rw-r--r--libc/kernel/uapi/linux/seccomp.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/libc/kernel/uapi/linux/seccomp.h b/libc/kernel/uapi/linux/seccomp.h
index 907895e..4ac3a29 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;
-/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
__u32 arch;
+/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
__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 */