seccomp: add "seccomp" syscall
[linux-block.git] / include / uapi / linux / seccomp.h
index ac2dc9f7297367c0529ed70e7ed02a8be8f4c27f..b258878ba754babd9a6da918bd2fe5e529253b17 100644 (file)
 #define SECCOMP_MODE_STRICT    1 /* uses hard-coded filter. */
 #define SECCOMP_MODE_FILTER    2 /* uses user-supplied filter. */
 
+/* Valid operations for seccomp syscall. */
+#define SECCOMP_SET_MODE_STRICT        0
+#define SECCOMP_SET_MODE_FILTER        1
+
 /*
  * All BPF programs must return a 32-bit value.
  * The bottom 16-bits are for optional return data.