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