[PATCH 0/3] sysctl: fix some bugs related to proc_douintvec

From: Liping Zhang
Date: Fri Apr 07 2017 - 11:52:46 EST


From: Liping Zhang <zlpnobody@xxxxxxxxx>

This patch set aims to fix some bugs introduced by commit e7d316a02f68
("sysctl: handle error writing UINT_MAX to u32 fields").

Liping Zhang (3):
sysctl: add sanity check for proc_douintvec
sysctl: don't print negative flag for proc_douintvec
sysctl: report EINVAL if value is larger than UINT_MAX for
proc_douintvec

fs/proc/proc_sysctl.c | 1 +
kernel/sysctl.c | 3 +++
2 files changed, 4 insertions(+)

--
2.5.5