Merge tag 'sysctl-6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/sysctl/sysctl
Pull sysctl updates from Joel Granados: - Remove sentinel elements from ctl_table structs in kernel/* Removing sentinels in ctl_table arrays reduces the build time size and runtime memory consumed by ~64 bytes per array. Removals for net/, io_uring/, mm/, ipc/ and security/ are set to go into mainline through their respective subsystems making the next release the most likely place where the final series that removes the check for proc_name == NULL will land. This adds to removals already in arch/, drivers/ and fs/. - Adjust ctl_table definitions and references to allow constification - Remove unused ctl_table function arguments - Move non-const elements from ctl_table to ctl_table_header - Make ctl_table pointers const in ctl_table_root structure Making the static ctl_table structs const will increase safety by keeping the pointers to proc_handler functions in .rodat...
Showing
- fs/proc/proc_sysctl.c 9 additions, 12 deletionsfs/proc/proc_sysctl.c
- include/linux/sysctl.h 12 additions, 13 deletionsinclude/linux/sysctl.h
- ipc/ipc_sysctl.c 2 additions, 3 deletionsipc/ipc_sysctl.c
- ipc/mq_sysctl.c 2 additions, 3 deletionsipc/mq_sysctl.c
- kernel/acct.c 0 additions, 1 deletionkernel/acct.c
- kernel/bpf/syscall.c 0 additions, 1 deletionkernel/bpf/syscall.c
- kernel/delayacct.c 0 additions, 1 deletionkernel/delayacct.c
- kernel/exit.c 0 additions, 1 deletionkernel/exit.c
- kernel/hung_task.c 0 additions, 1 deletionkernel/hung_task.c
- kernel/kexec_core.c 0 additions, 1 deletionkernel/kexec_core.c
- kernel/kprobes.c 0 additions, 1 deletionkernel/kprobes.c
- kernel/latencytop.c 0 additions, 1 deletionkernel/latencytop.c
- kernel/panic.c 0 additions, 1 deletionkernel/panic.c
- kernel/pid_namespace.c 0 additions, 1 deletionkernel/pid_namespace.c
- kernel/pid_sysctl.h 0 additions, 1 deletionkernel/pid_sysctl.h
- kernel/printk/sysctl.c 0 additions, 1 deletionkernel/printk/sysctl.c
- kernel/reboot.c 0 additions, 1 deletionkernel/reboot.c
- kernel/sched/autogroup.c 0 additions, 1 deletionkernel/sched/autogroup.c
- kernel/sched/core.c 0 additions, 1 deletionkernel/sched/core.c
- kernel/sched/deadline.c 0 additions, 1 deletionkernel/sched/deadline.c
Please register or sign in to comment