[GIT PULL] sysctl changes for v6.13-rc1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Linus:

Please pull


The following changes since commit 8cf0b93919e13d1e8d4466eb4080a4c4d9d66d7b:

  Linux 6.12-rc2 (2024-10-06 15:32:27 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/sysctl/sysctl.git/ tags/sysctl-6.13-rc1

for you to fetch changes up to 9c738dae9534fbdf77c250132cba04e0822983b3:

  sysctl: Reduce dput(child) calls in proc_sys_fill_cache() (2024-10-31 11:39:55 +0100)

----------------------------------------------------------------
Summary

* 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.

* Testing

  All these went through 0-day and they have all been in linux-next for at
  least 1 month (since Oct-24). I also rand these through the sysctl selftest
  for x86_64.

----------------------------------------------------------------
Julia Lawall (1):
      sysctl: Reorganize kerneldoc parameter names

Luis Chamberlain (1):
      MAINTAINERS: remove me from sysctl

Markus Elfring (1):
      sysctl: Reduce dput(child) calls in proc_sys_fill_cache()

Thomas Wei�chuh (8):
      bpf: Constify ctl_table argument of filter function
      sysctl: move internal interfaces to const struct ctl_table
      sysctl: allow registration of const struct ctl_table
      sysctl: make internal ctl_tables const
      const_structs.checkpatch: add ctl_table
      sysctl: Convert locking comments to lockdep assertions
      sysctl: update comments to new registration APIs
      ucounts: constify sysctl table user_table

 MAINTAINERS                      |   1 -
 fs/proc/internal.h               |   2 +-
 fs/proc/proc_sysctl.c            | 113 +++++++++++++++++++++------------------
 include/linux/bpf-cgroup.h       |   2 +-
 include/linux/sysctl.h           |  18 +++----
 kernel/bpf/cgroup.c              |   2 +-
 kernel/sysctl.c                  |   1 -
 kernel/ucount.c                  |   2 +-
 scripts/const_structs.checkpatch |   1 +
 9 files changed, 73 insertions(+), 69 deletions(-)

-- 

Joel Granados




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux