projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add PR_{GET,SET}_NO_NEW_PRIVS to prevent execve from granting privs
[linux-2.6-block.git]
/
include
/
linux
/
security.h
diff --git
a/include/linux/security.h
b/include/linux/security.h
index 673afbb8238a38b5d8f4cb5be001523f34d4cba7..6e1dea93907a7005a00bcb07472b1a9dd3349171 100644
(file)
--- a/
include/linux/security.h
+++ b/
include/linux/security.h
@@
-144,6
+144,7
@@
struct request_sock;
#define LSM_UNSAFE_SHARE 1
#define LSM_UNSAFE_PTRACE 2
#define LSM_UNSAFE_PTRACE_CAP 4
+#define LSM_UNSAFE_NO_NEW_PRIVS 8
#ifdef CONFIG_MMU
extern int mmap_min_addr_handler(struct ctl_table *table, int write,