move seccomp from /proc to a prctl
[safe/jmp/linux-2.6] / include / linux / prctl.h
index 52a9be4..e2eff90 100644 (file)
@@ -59,4 +59,8 @@
 # define PR_ENDIAN_LITTLE      1       /* True little endian mode */
 # define PR_ENDIAN_PPC_LITTLE  2       /* "PowerPC" pseudo little endian */
 
+/* Get/set process seccomp mode */
+#define PR_GET_SECCOMP 21
+#define PR_SET_SECCOMP 22
+
 #endif /* _LINUX_PRCTL_H */