lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <67lhgpay5opmjkgnhm7nnkhfhbzmlgp3bkwxap6nexzfb62mj5@fsr5p2aggmxt>
Date: Fri, 22 Nov 2024 11:50:42 +0100
From: Joel Granados <joel.granados@...nel.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Thomas Wei�schuh <linux@...ssschuh.net>, 
	Luis Chamberlain <mcgrof@...nel.org>, Julia Lawall <Julia.Lawall@...ia.fr>, 
	Kees Cook <kees@...nel.org>, Kees Cook <keescook@...omium.org>, 
	Markus Elfring <elfring@...rs.sourceforge.net>, linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org
Subject: [GIT PULL] sysctl changes for v6.13-rc1

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ßschuh (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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ