git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sysctl: fix false positives when PROC_SYSCTL=n
[safe/jmp/linux-2.6]
/
kernel
/
sysctl_check.c
diff --git
a/kernel/sysctl_check.c
b/kernel/sysctl_check.c
index
b38423c
..
b6e7aae
100644
(file)
--- a/
kernel/sysctl_check.c
+++ b/
kernel/sysctl_check.c
@@
-1521,7
+1521,7
@@
int sysctl_check_table(struct nsproxy *namespaces, struct ctl_table *table)
if (!table->ctl_name && table->strategy)
set_fail(&fail, table, "Strategy without ctl_name");
#endif
-#ifdef CONFIG_PROC_
FS
+#ifdef CONFIG_PROC_
SYSCTL
if (table->procname && !table->proc_handler)
set_fail(&fail, table, "No proc_handler");
#endif