diff options
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r-- | kernel/sysctl.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 51f5dac42a00..d93e13d93f24 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
@@ -949,6 +949,16 @@ static ctl_table vm_table[] = { | |||
949 | .strategy = &sysctl_jiffies, | 949 | .strategy = &sysctl_jiffies, |
950 | }, | 950 | }, |
951 | #endif | 951 | #endif |
952 | #ifdef CONFIG_SECURITY | ||
953 | { | ||
954 | .ctl_name = CTL_UNNUMBERED, | ||
955 | .procname = "mmap_min_addr", | ||
956 | .data = &mmap_min_addr, | ||
957 | .maxlen = sizeof(unsigned long), | ||
958 | .mode = 0644, | ||
959 | .proc_handler = &proc_doulongvec_minmax, | ||
960 | }, | ||
961 | #endif | ||
952 | #if defined(CONFIG_X86_32) || \ | 962 | #if defined(CONFIG_X86_32) || \ |
953 | (defined(CONFIG_SUPERH) && defined(CONFIG_VSYSCALL)) | 963 | (defined(CONFIG_SUPERH) && defined(CONFIG_VSYSCALL)) |
954 | { | 964 | { |