Commit 4b6d2635 authored by WANG Cong's avatar WANG Cong Committed by Greg Kroah-Hartman

kernel/sysctl.c: fix the incomplete part of sysctl_max_map_count-should-be-non-negative.patch

commit 3e26120c upstream.

It is a mistake that we used 'proc_dointvec', it should be
'proc_dointvec_minmax', as in the original patch.
Signed-off-by: default avatarWANG Cong <amwang@redhat.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 3ec268a6
...@@ -1607,7 +1607,7 @@ static struct ctl_table debug_table[] = { ...@@ -1607,7 +1607,7 @@ static struct ctl_table debug_table[] = {
.data = &show_unhandled_signals, .data = &show_unhandled_signals,
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = proc_dointvec, .proc_handler = proc_dointvec_minmax,
.extra1 = &zero, .extra1 = &zero,
}, },
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment