diff options
Diffstat (limited to 'security/security.c')
-rw-r--r-- | security/security.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/security/security.c b/security/security.c index b6c57a6b2ff..d15e56cbaad 100644 --- a/security/security.c +++ b/security/security.c | |||
@@ -23,7 +23,9 @@ extern struct security_operations dummy_security_ops; | |||
23 | extern void security_fixup_ops(struct security_operations *ops); | 23 | extern void security_fixup_ops(struct security_operations *ops); |
24 | 24 | ||
25 | struct security_operations *security_ops; /* Initialized to NULL */ | 25 | struct security_operations *security_ops; /* Initialized to NULL */ |
26 | unsigned long mmap_min_addr; /* 0 means no protection */ | 26 | |
27 | /* amount of vm to protect from userspace access */ | ||
28 | unsigned long mmap_min_addr = CONFIG_SECURITY_DEFAULT_MMAP_MIN_ADDR; | ||
27 | 29 | ||
28 | static inline int verify(struct security_operations *ops) | 30 | static inline int verify(struct security_operations *ops) |
29 | { | 31 | { |