[GIT PULL] sysctl changes for v6.16-rc1
From: Joel Granados
Date: Tue May 27 2025 - 03:00:44 EST
The following changes since commit 0af2f6be1b4281385b618cb86ad946eded089ac8:
Linux 6.15-rc1 (2025-04-06 13:11:33 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/sysctl/sysctl.git/ tags/sysctl-6.16-rc1
for you to fetch changes up to 23b8bacf154759ed922d25527dda434fbf57436a:
sysctl: Close test ctl_headers with a for loop (2025-04-14 14:13:41 +0200)
----------------------------------------------------------------
Summary
* Move kern_table members out of kernel/sysctl.c
Moved a subset (tracing, panic, signal, stack_tracer and sparc) out of the
kern_table array. The goal is for kern_table to only have sysctl elements. All
this increases modularity by placing the ctl_tables closer to where they are
used while reducing the chances of merge conflicts in kernel/sysctl.c.
* Fixed sysctl unit test panic by relocating it to selftests
* Testing
These have been in linux-next from rc2, so they have had more than a month
worth of testing.
----------------------------------------------------------------
Joel Granados (9):
panic: Move panic ctl tables into panic.c
signal: Move signal ctl tables into signal.c
tracing: Move trace sysctls into trace.c
stack_tracer: move sysctl registration to kernel/trace/trace_stack.c
sparc: mv sparc sysctls into their own file under arch/sparc/kernel
sysctl: move u8 register test to lib/test_sysctl.c
sysctl: Add 0012 to test the u8 range check
sysctl: call sysctl tests with a for loop
sysctl: Close test ctl_headers with a for loop
arch/sparc/kernel/Makefile | 1 +
arch/sparc/kernel/setup.c | 46 +++++++++++
include/linux/ftrace.h | 9 ---
kernel/panic.c | 30 +++++++
kernel/signal.c | 11 +++
kernel/sysctl-test.c | 49 ------------
kernel/sysctl.c | 108 -------------------------
kernel/trace/trace.c | 36 ++++++++-
kernel/trace/trace_stack.c | 22 ++++-
lib/test_sysctl.c | 133 +++++++++++++++++++++----------
tools/testing/selftests/sysctl/sysctl.sh | 30 +++++++
11 files changed, 266 insertions(+), 209 deletions(-)
create mode 100644 arch/sparc/kernel/setup.c
--
Joel Granados
Attachment:
signature.asc
Description: PGP signature