]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
Merge tag 'sysctl-6.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/sysctl...
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 27 Mar 2025 04:02:05 +0000 (21:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 27 Mar 2025 04:02:05 +0000 (21:02 -0700)
Pull sysctl updates from Joel Granados:

 - 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

* tag 'sysctl-6.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/sysctl/sysctl: (22 commits)
  selftests/sysctl: fix wording of help messages
  selftests: fix spelling/grammar errors in sysctl/sysctl.sh
  MAINTAINERS: Update sysctl file list in MAINTAINERS
  sysctl: Fix underflow value setting risk in vm_table
  coredump: Fixes core_pipe_limit sysctl proc_handler
  sysctl: remove unneeded include
  sysctl: remove the vm_table
  sh: vdso: move the sysctl to arch/sh/kernel/vsyscall/vsyscall.c
  x86: vdso: move the sysctl to arch/x86/entry/vdso/vdso32-setup.c
  fs: dcache: move the sysctl to fs/dcache.c
  sunrpc: simplify rpcauth_cache_shrink_count()
  fs: drop_caches: move sysctl to fs/drop_caches.c
  fs: fs-writeback: move sysctl to fs/fs-writeback.c
  mm: nommu: move sysctl to mm/nommu.c
  security: min_addr: move sysctl to security/min_addr.c
  mm: mmap: move sysctl to mm/mmap.c
  mm: util: move sysctls to mm/util.c
  mm: vmscan: move vmscan sysctls to mm/vmscan.c
  mm: swap: move sysctl to mm/swap.c
  mm: filemap: move sysctl to mm/filemap.c
  ...

1  2 
MAINTAINERS
fs/coredump.c
fs/dcache.c
include/linux/dcache.h
include/linux/mm.h
kernel/sysctl.c
mm/filemap.c
mm/internal.h
mm/nommu.c
mm/util.c
mm/vmstat.c

diff --cc MAINTAINERS
Simple merge
diff --cc fs/coredump.c
Simple merge
diff --cc fs/dcache.c
Simple merge
Simple merge
Simple merge
diff --cc kernel/sysctl.c
index 4ebe6136b08d36d393ed950f8884b9d2c2329954,eeb4cba121903cab5c835fb46db0e893d200de0f..88b83fb504c8bffa46a0886425fdfb649b6fc86e
@@@ -54,7 -47,7 +47,6 @@@
  #include <linux/acpi.h>
  #include <linux/reboot.h>
  #include <linux/ftrace.h>
- #include <linux/oom.h>
 -#include <linux/perf_event.h>
  #include <linux/kmod.h>
  #include <linux/capability.h>
  #include <linux/binfmts.h>
diff --cc mm/filemap.c
index e9404290f2c638d235e9d9b3dd73f1d19b4ea706,004d78767804dcf8cec9f238285a18acf22c6f51..27dbfc1193b4539cbce4f4318e0117ba95dcf151
@@@ -47,6 -47,8 +47,7 @@@
  #include <linux/splice.h>
  #include <linux/rcupdate_wait.h>
  #include <linux/sched/mm.h>
 -#include <linux/fsnotify.h>
+ #include <linux/sysctl.h>
  #include <asm/pgalloc.h>
  #include <asm/tlbflush.h>
  #include "internal.h"
diff --cc mm/internal.h
Simple merge
diff --cc mm/nommu.c
Simple merge
diff --cc mm/util.c
Simple merge
diff --cc mm/vmstat.c
Simple merge