git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
move seccomp from /proc to a prctl
[safe/jmp/linux-2.6]
/
include
/
linux
/
prctl.h
diff --git
a/include/linux/prctl.h
b/include/linux/prctl.h
index
52a9be4
..
e2eff90
100644
(file)
--- a/
include/linux/prctl.h
+++ b/
include/linux/prctl.h
@@
-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 */