|
@@ -143,15 +143,6 @@ int sysctl_check_table(struct nsproxy *namespaces, struct ctl_table *table)
|
|
|
if (!table->maxlen)
|
|
|
set_fail(&fail, table, "No maxlen");
|
|
|
}
|
|
|
- if ((table->proc_handler == proc_doulongvec_minmax) ||
|
|
|
- (table->proc_handler == proc_doulongvec_ms_jiffies_minmax)) {
|
|
|
- if (table->maxlen > sizeof (unsigned long)) {
|
|
|
- if (!table->extra1)
|
|
|
- set_fail(&fail, table, "No min");
|
|
|
- if (!table->extra2)
|
|
|
- set_fail(&fail, table, "No max");
|
|
|
- }
|
|
|
- }
|
|
|
#ifdef CONFIG_PROC_SYSCTL
|
|
|
if (table->procname && !table->proc_handler)
|
|
|
set_fail(&fail, table, "No proc_handler");
|