git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git]
/
include
/
linux
/
personality.h
diff --git
a/include/linux/personality.h
b/include/linux/personality.h
index
14b9122
..
9b009b6
100644
(file)
--- a/
include/linux/personality.h
+++ b/
include/linux/personality.h
@@
-30,6
+30,7
@@
extern int abi_fake_utsname;
*/
enum {
MMAP_PAGE_ZERO = 0x0100000,
*/
enum {
MMAP_PAGE_ZERO = 0x0100000,
+ READ_IMPLIES_EXEC = 0x0400000,
ADDR_LIMIT_32BIT = 0x0800000,
SHORT_INODE = 0x1000000,
WHOLE_SECONDS = 0x2000000,
ADDR_LIMIT_32BIT = 0x0800000,
SHORT_INODE = 0x1000000,
WHOLE_SECONDS = 0x2000000,
@@
-37,6
+38,12
@@
enum {
ADDR_LIMIT_3GB = 0x8000000,
};
ADDR_LIMIT_3GB = 0x8000000,
};
+/*
+ * Security-relevant compatibility flags that must be
+ * cleared upon setuid or setgid exec:
+ */
+#define PER_CLEAR_ON_SETID (READ_IMPLIES_EXEC)
+
/*
* Personality types.
*
/*
* Personality types.
*