summaryrefslogtreecommitdiff
path: root/include/linux/prctl.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-09-05 18:17:42 +0400
committerJohannes Berg <johannes.berg@intel.com>2012-09-05 18:17:42 +0400
commit188ce5abebf56ec732f652abe608b94c317e4963 (patch)
tree23bda38c221abb46b566a1aef36029eab00a50b9 /include/linux/prctl.h
parent362b0563b28506d534a82d9c6cd5fdf58783fda6 (diff)
parenta4881cc45a3fab4488e16c4934e149cfa620f1a9 (diff)
downloadlinux-188ce5abebf56ec732f652abe608b94c317e4963.tar.xz
Merge remote-tracking branch 'wireless-next/master' into iwlwifi-next
Diffstat (limited to 'include/linux/prctl.h')
-rw-r--r--include/linux/prctl.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/include/linux/prctl.h b/include/linux/prctl.h
index 711e0a30aacc..289760f424aa 100644
--- a/include/linux/prctl.h
+++ b/include/linux/prctl.h
@@ -127,8 +127,8 @@
#define PR_SET_PTRACER 0x59616d61
# define PR_SET_PTRACER_ANY ((unsigned long)-1)
-#define PR_SET_CHILD_SUBREAPER 36
-#define PR_GET_CHILD_SUBREAPER 37
+#define PR_SET_CHILD_SUBREAPER 36
+#define PR_GET_CHILD_SUBREAPER 37
/*
* If no_new_privs is set, then operations that grant new privileges (i.e.
@@ -141,8 +141,12 @@
* Changing LSM security domain is considered a new privilege. So, for example,
* asking selinux for a specific new context (e.g. with runcon) will result
* in execve returning -EPERM.
+ *
+ * See Documentation/prctl/no_new_privs.txt for more details.
*/
-#define PR_SET_NO_NEW_PRIVS 38
-#define PR_GET_NO_NEW_PRIVS 39
+#define PR_SET_NO_NEW_PRIVS 38
+#define PR_GET_NO_NEW_PRIVS 39
+
+#define PR_GET_TID_ADDRESS 40
#endif /* _LINUX_PRCTL_H */