aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/personality.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/linux/personality.h b/include/linux/personality.h
index a84e9ff9b27e..b7f578dac544 100644
--- a/include/linux/personality.h
+++ b/include/linux/personality.h
@@ -40,7 +40,11 @@ enum {
40 * Security-relevant compatibility flags that must be 40 * Security-relevant compatibility flags that must be
41 * cleared upon setuid or setgid exec: 41 * cleared upon setuid or setgid exec:
42 */ 42 */
43#define PER_CLEAR_ON_SETID (READ_IMPLIES_EXEC|ADDR_NO_RANDOMIZE) 43#define PER_CLEAR_ON_SETID \
44 (READ_IMPLIES_EXEC | \
45 ADDR_NO_RANDOMIZE | \
46 ADDR_COMPAT_LAYOUT | \
47 MMAP_PAGE_ZERO)
44 48
45/* 49/*
46 * Personality types. 50 * Personality types.