Merge tag 'sysctl-6.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/sysctl/sysctl
Pull sysctl updates from Joel Granados: "sysctl ctl_table constification: - Constifying ctl_table structs prevents the modification of proc_handler function pointers. All ctl_table struct arguments are const qualified in the sysctl API in such a way that the ctl_table arrays being defined elsewhere and passed through sysctl can be constified one-by-one. We kick the constification off by qualifying user_table in kernel/ucount.c and expect all the ctl_tables to be constified in the coming releases. Misc fixes: - Adjust comments in two places to better reflect the code - Remove superfluous dput calls - Remove Luis from sysctl maintainership - Replace comments about holding a lock with calls to lockdep_assert_held" * tag 'sysctl-6.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/sysctl/sysctl: sysctl: Reduce dput(child) calls in proc_sys_fill_cache() sysctl: Reorganize kerneldoc parameter names ucounts: constify sysctl table user_table sysctl: update comments to new registration APIs MAINTAINERS: remove me from sysctl sysctl: Convert locking comments to lockdep assertions const_structs.checkpatch: add ctl_table sysctl: make internal ctl_tables const sysctl: allow registration of const struct ctl_table sysctl: move internal interfaces to const struct ctl_table bpf: Constify ctl_table argument of filter function
No related branches found
No related tags found
Showing
- MAINTAINERS 0 additions, 1 deletionMAINTAINERS
- fs/proc/internal.h 1 addition, 1 deletionfs/proc/internal.h
- fs/proc/proc_sysctl.c 60 additions, 53 deletionsfs/proc/proc_sysctl.c
- include/linux/bpf-cgroup.h 1 addition, 1 deletioninclude/linux/bpf-cgroup.h
- include/linux/sysctl.h 8 additions, 10 deletionsinclude/linux/sysctl.h
- kernel/bpf/cgroup.c 1 addition, 1 deletionkernel/bpf/cgroup.c
- kernel/sysctl.c 0 additions, 1 deletionkernel/sysctl.c
- kernel/ucount.c 1 addition, 1 deletionkernel/ucount.c
- scripts/const_structs.checkpatch 1 addition, 0 deletionsscripts/const_structs.checkpatch
Loading
Please register or sign in to comment