[Precise][PATCH 2/2] UBUNTU: SAUCE: SECCOMP: adjust prctl constant

Kees Cook kees at ubuntu.com
Fri Mar 30 20:20:07 UTC 2012


3.4-rc1 contains new prctl values that conflict with the ones chosen for
nnp, so push them forward with the hopes that we will align with the future.

Signed-off-by: Kees Cook <kees at ubuntu.com>
---
 include/linux/prctl.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/linux/prctl.h b/include/linux/prctl.h
index c2f1f17..8593c71 100644
--- a/include/linux/prctl.h
+++ b/include/linux/prctl.h
@@ -133,7 +133,7 @@
  * asking selinux for a specific new context (e.g. with runcon) will result
  * in execve returning -EPERM.
  */
-#define PR_SET_NO_NEW_PRIVS 36
-#define PR_GET_NO_NEW_PRIVS 37
+#define PR_SET_NO_NEW_PRIVS 38
+#define PR_GET_NO_NEW_PRIVS 39
 
 #endif /* _LINUX_PRCTL_H */
-- 
1.7.0.4

-- 
Kees Cook




More information about the kernel-team mailing list