]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
kernel/sysctl.c: fix the incomplete part of sysctl_max_map_count-should-be-non-negati...
authorWANG Cong <amwang@redhat.com>
Thu, 17 Dec 2009 23:27:05 +0000 (15:27 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 6 Jan 2010 23:04:32 +0000 (15:04 -0800)
commit 3e26120cc7c819c97bc07281ca1fb9017cfe9a39 upstream.

It is a mistake that we used 'proc_dointvec', it should be
'proc_dointvec_minmax', as in the original patch.

Signed-off-by: WANG Cong <amwang@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
kernel/sysctl.c

index 3928c04965f00c57d86e29cef7cb208737425fae..dd84be9ac6e4b589bffefefd6846d62e178e0db3 100644 (file)
@@ -1607,7 +1607,7 @@ static struct ctl_table debug_table[] = {
                .data           = &show_unhandled_signals,
                .maxlen         = sizeof(int),
                .mode           = 0644,
-               .proc_handler   = proc_dointvec,
+               .proc_handler   = proc_dointvec_minmax,
                .extra1         = &zero,
        },
 #endif