[GIT PULL] sysctl changes for v6.15-rc1
From: Joel Granados
Date: Tue Mar 25 2025 - 13:22:16 EST
The following changes since commit 2014c95afecee3e76ca4a56956a936e23283f05b:
Linux 6.14-rc1 (2025-02-02 15:39:26 -0800)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/sysctl/sysctl.git/ tags/sysctl-6.15-rc1
for you to fetch changes up to 29fa7d7934216e0a93102a930ef28e2a6ae852b1:
selftests/sysctl: fix wording of help messages (2025-02-27 10:02:12 +0100)
----------------------------------------------------------------
Summary
* Move vm_table members out of kernel/sysctl.c
All vm_table array members have moved to their respective subsystems leading
to the removal of vm_table from kernel/sysctl.c. This increases modularity by
placing the ctl_tables closer to where they are actually used and at the same
time reducing the chances of merge conflicts in kernel/sysctl.c.
* ctl_table range fixes
Replace the proc_handler function that checks variable ranges in
coredump_sysctls and vdso_table with the one that actually uses the extra{1,2}
pointers as min/max values. This tightens the range of the values that users
can pass into the kernel effectively preventing {under,over}flows.
* Misc fixes
Correct grammar errors and typos in test messages. Update sysctl files in
MAINTAINERS. Constified and removed array size in declaration for
alignment_tbl
* Testing
- These have all been in linux-next for at least 1 month
- They have gone through 0-day
- Ran all these through sysctl selftests in x86_64
----------------------------------------------------------------
Bharadwaj Raju (1):
selftests/sysctl: fix wording of help messages
Chandra Pratap (1):
selftests: fix spelling/grammar errors in sysctl/sysctl.sh
Joel Granados (2):
csky: Remove the size from alignment_tbl declaration
MAINTAINERS: Update sysctl file list in MAINTAINERS
Kaixiong Yu (16):
mm: vmstat: move sysctls to mm/vmstat.c
mm: filemap: move sysctl to mm/filemap.c
mm: swap: move sysctl to mm/swap.c
mm: vmscan: move vmscan sysctls to mm/vmscan.c
mm: util: move sysctls to mm/util.c
mm: mmap: move sysctl to mm/mmap.c
security: min_addr: move sysctl to security/min_addr.c
mm: nommu: move sysctl to mm/nommu.c
fs: fs-writeback: move sysctl to fs/fs-writeback.c
fs: drop_caches: move sysctl to fs/drop_caches.c
sunrpc: simplify rpcauth_cache_shrink_count()
fs: dcache: move the sysctl to fs/dcache.c
x86: vdso: move the sysctl to arch/x86/entry/vdso/vdso32-setup.c
sh: vdso: move the sysctl to arch/sh/kernel/vsyscall/vsyscall.c
sysctl: remove the vm_table
sysctl: remove unneeded include
Nicolas Bouchinet (2):
coredump: Fixes core_pipe_limit sysctl proc_handler
sysctl: Fix underflow value setting risk in vm_table
MAINTAINERS | 7 +-
arch/csky/abiv1/alignment.c | 2 +-
arch/sh/kernel/vsyscall/vsyscall.c | 21 +++
arch/x86/entry/vdso/vdso32-setup.c | 16 ++-
fs/coredump.c | 4 +-
fs/dcache.c | 21 ++-
fs/drop_caches.c | 23 +++-
fs/fs-writeback.c | 30 +++--
include/linux/dcache.h | 7 +-
include/linux/mm.h | 23 ----
include/linux/mman.h | 2 -
include/linux/swap.h | 9 --
include/linux/vmstat.h | 11 --
include/linux/writeback.h | 4 -
kernel/sysctl.c | 221 -------------------------------
mm/filemap.c | 18 ++-
mm/internal.h | 10 ++
mm/mmap.c | 54 ++++++++
mm/nommu.c | 15 ++-
mm/swap.c | 16 ++-
mm/swap.h | 1 +
mm/util.c | 67 ++++++++--
mm/vmscan.c | 23 ++++
mm/vmstat.c | 44 +++++-
net/sunrpc/auth.c | 2 +-
security/min_addr.c | 11 ++
tools/testing/selftests/sysctl/sysctl.sh | 10 +-
27 files changed, 350 insertions(+), 322 deletions(-)
Best
--
Joel Granados