sysctl: few fixes
Status from this message: [merged] sysctl-add-unsigned-int-range-support.patch removed from -mm tree
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest5 patches 1 replyApplied 5/5
- v29 patches 12 repliesSuperseded
- v11 patch 4 repliesSuperseded
Patches in v3 All 5 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | sysctl: fix lax sysctl_check_table() sanity checkfs/ | +5 | 1 reply | Applied |
| 2/5 | sysctl: kdoc'ify sysctl_writes_strictkernel/ | +25 | 0 replies | Applied |
| 3/5 | sysctl: fold sysctl_writes_strict checks into helperkernel/ | +32 | 0 replies | Applied |
| 4/5 | sysctl: simplify unsigned int supportfs/ kernel/ | +160 | 0 replies | Applied |
| 5/5 | sysctl: add unsigned int range supportfs/ include/ kernel/ | +72 | 0 replies | Applied |
Reviews trailers per patch
1 of 5 patches has a Reviewed-by or Acked-by.
| Patch | Kees Cook |
|---|---|
| 1/5 | |
| 2/5 | |
| 3/5 | |
| 4/5 | |
| 5/5 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/5] sysctl: few fixes
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(-)
Signature · 1 line
2.11.0