diff options
Diffstat (limited to 'kernel/sysctl_check.c')
-rw-r--r-- | kernel/sysctl_check.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/sysctl_check.c b/kernel/sysctl_check.c index f47c33d17032..3c9ef5a7d575 100644 --- a/kernel/sysctl_check.c +++ b/kernel/sysctl_check.c | |||
@@ -38,7 +38,10 @@ static struct trans_ctl_table trans_kern_table[] = { | |||
38 | { KERN_NODENAME, "hostname" }, | 38 | { KERN_NODENAME, "hostname" }, |
39 | { KERN_DOMAINNAME, "domainname" }, | 39 | { KERN_DOMAINNAME, "domainname" }, |
40 | 40 | ||
41 | #ifdef CONFIG_SECURITY_CAPABILITIES | ||
41 | { KERN_CAP_BSET, "cap-bound" }, | 42 | { KERN_CAP_BSET, "cap-bound" }, |
43 | #endif /* def CONFIG_SECURITY_CAPABILITIES */ | ||
44 | |||
42 | { KERN_PANIC, "panic" }, | 45 | { KERN_PANIC, "panic" }, |
43 | { KERN_REALROOTDEV, "real-root-dev" }, | 46 | { KERN_REALROOTDEV, "real-root-dev" }, |
44 | 47 | ||
@@ -1532,7 +1535,9 @@ int sysctl_check_table(struct ctl_table *table) | |||
1532 | (table->strategy == sysctl_ms_jiffies) || | 1535 | (table->strategy == sysctl_ms_jiffies) || |
1533 | (table->proc_handler == proc_dostring) || | 1536 | (table->proc_handler == proc_dostring) || |
1534 | (table->proc_handler == proc_dointvec) || | 1537 | (table->proc_handler == proc_dointvec) || |
1538 | #ifdef CONFIG_SECURITY_CAPABILITIES | ||
1535 | (table->proc_handler == proc_dointvec_bset) || | 1539 | (table->proc_handler == proc_dointvec_bset) || |
1540 | #endif /* def CONFIG_SECURITY_CAPABILITIES */ | ||
1536 | (table->proc_handler == proc_dointvec_minmax) || | 1541 | (table->proc_handler == proc_dointvec_minmax) || |
1537 | (table->proc_handler == proc_dointvec_jiffies) || | 1542 | (table->proc_handler == proc_dointvec_jiffies) || |
1538 | (table->proc_handler == proc_dointvec_userhz_jiffies) || | 1543 | (table->proc_handler == proc_dointvec_userhz_jiffies) || |