Messages in this thread | | | From | "Luis R. Rodriguez" <> | Subject | [PATCH v3 0/5] sysctl: few fixes | Date | Thu, 18 May 2017 20:35:49 -0700 |
| |
I've been working on making kmod more deterministic, and as I did that I couldn't help but notice a few issues with sysctl. My end goal was just to fix unsigned int support, which back then was completely broken. Liping Zhang has sent up small atomic fixes, however it still missed yet one more fix and Alexey Dobriyan had also suggested to just drop array support given its complexity.
I have inspected array support using Coccinelle and indeed its not that popular, so if in fact we can avoid it for new interfaces, I agree its best.
I did develop a sysctl stress driver but will hold that off for another series.
Luis R. Rodriguez (5): sysctl: fix lax sysctl_check_table() sanity check sysctl: kdoc'ify sysctl_writes_strict sysctl: fold sysctl_writes_strict checks into helper sysctl: simplify unsigned int support sysctl: add unsigned int range support
fs/proc/proc_sysctl.c | 26 ++++- include/linux/sysctl.h | 3 + kernel/sysctl.c | 304 +++++++++++++++++++++++++++++++++++++++++++------ 3 files changed, 293 insertions(+), 40 deletions(-)
-- 2.11.0
| |