mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [GIT PULL] sysctl changes for v6.10-rc1
       [not found] <CGME20240516100244eucas1p1cd749a8cc08b1dc0b073e6f0832c2d52@eucas1p1.samsung.com>
@ 2024-05-16 10:02 ` Joel Granados
  2024-05-18  1:54   ` pr-tracker-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Joel Granados @ 2024-05-16 10:02 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Andrii Nakryiko, Masami Hiramatsu, Peter Zijlstra, Petr Mladek,
	Steven Rostedt, Thomas Wei�schuh, Valentin Schneider,
	Kees Cook, Joel Granados, Luis Chamberlain, linux-kernel,
	linux-fsdevel

[-- Attachment #1: Type: text/plain, Size: 4568 bytes --]

The following changes since commit 4cece764965020c22cff7665b18a012006359095:

  Linux 6.9-rc1 (2024-03-24 14:10:05 -0700)

are available in the Git repository at:

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

for you to fetch changes up to a35dd3a786f57903151b18275b1eed105084cf72:

  sysctl: drop now unnecessary out-of-bounds check (2024-04-24 09:43:54 +0200)

----------------------------------------------------------------
sysctl changes for v6.10-rc1

Summary
* Removed 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 PR adds
  to removals already in arch/, drivers/ and fs/.

* Adjusted ctl_table definitions and references to allow constification

  Adjustments:
    - Removing unused ctl_table function arguments
    - Moving non-const elements from ctl_table to ctl_table_header
    - Making 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 .rodata. Though no ctl_tables where
  made const in this PR, the ground work for making that possible has started
  with these changes sent by Thomas Wei?schuh.

Testing
* These changes went into linux-next after v6.9-rc4; giving it a good month of
  testing.

----------------------------------------------------------------
Joel Granados (10):
      kernel misc: Remove the now superfluous sentinel elements from ctl_table array
      umh: Remove the now superfluous sentinel elements from ctl_table array
      ftrace: Remove the now superfluous sentinel elements from ctl_table array
      timekeeping: Remove the now superfluous sentinel elements from ctl_table array
      seccomp: Remove the now superfluous sentinel elements from ctl_table array
      scheduler: Remove the now superfluous sentinel elements from ctl_table array
      printk: Remove the now superfluous sentinel elements from ctl_table array
      kprobes: Remove the now superfluous sentinel elements from ctl_table array
      delayacct: Remove the now superfluous sentinel elements from ctl_table array
      bpf: Remove the now superfluous sentinel elements from ctl_table array

Thomas Wei?schuh (5):
      sysctl: treewide: drop unused argument ctl_table_root::set_ownership(table)
      sysctl: treewide: constify argument ctl_table_root::permissions(table)
      sysctl: drop sysctl_is_perm_empty_ctl_table
      sysctl: move sysctl type to ctl_table_header
      sysctl: drop now unnecessary out-of-bounds check

 fs/proc/proc_sysctl.c            | 21 +++++++++------------
 include/linux/sysctl.h           | 25 ++++++++++++-------------
 ipc/ipc_sysctl.c                 |  5 ++---
 ipc/mq_sysctl.c                  |  5 ++---
 kernel/acct.c                    |  1 -
 kernel/bpf/syscall.c             |  1 -
 kernel/delayacct.c               |  1 -
 kernel/exit.c                    |  1 -
 kernel/hung_task.c               |  1 -
 kernel/kexec_core.c              |  1 -
 kernel/kprobes.c                 |  1 -
 kernel/latencytop.c              |  1 -
 kernel/panic.c                   |  1 -
 kernel/pid_namespace.c           |  1 -
 kernel/pid_sysctl.h              |  1 -
 kernel/printk/sysctl.c           |  1 -
 kernel/reboot.c                  |  1 -
 kernel/sched/autogroup.c         |  1 -
 kernel/sched/core.c              |  1 -
 kernel/sched/deadline.c          |  1 -
 kernel/sched/fair.c              |  1 -
 kernel/sched/rt.c                |  1 -
 kernel/sched/topology.c          |  1 -
 kernel/seccomp.c                 |  1 -
 kernel/signal.c                  |  1 -
 kernel/stackleak.c               |  1 -
 kernel/sysctl.c                  |  2 --
 kernel/time/timer.c              |  1 -
 kernel/trace/ftrace.c            |  1 -
 kernel/trace/trace_events_user.c |  1 -
 kernel/ucount.c                  |  5 ++---
 kernel/umh.c                     |  1 -
 kernel/utsname_sysctl.c          |  1 -
 kernel/watchdog.c                |  2 --
 net/sysctl_net.c                 |  3 +--
 35 files changed, 28 insertions(+), 67 deletions(-)

-- 

Joel Granados

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [GIT PULL] sysctl changes for v6.10-rc1
  2024-05-16 10:02 ` [GIT PULL] sysctl changes for v6.10-rc1 Joel Granados
@ 2024-05-18  1:54   ` pr-tracker-bot
  0 siblings, 0 replies; 2+ messages in thread
From: pr-tracker-bot @ 2024-05-18  1:54 UTC (permalink / raw)
  To: Joel Granados
  Cc: Linus Torvalds, Andrii Nakryiko, Masami Hiramatsu,
	Peter Zijlstra, Petr Mladek, Steven Rostedt,
	Thomas Wei�schuh, Valentin Schneider, Kees Cook,
	Joel Granados, Luis Chamberlain, linux-kernel, linux-fsdevel

The pull request you sent on Thu, 16 May 2024 12:02:39 +0200:

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

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/91b6163be404e36baea39fc978e4739fd0448ebd

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-05-18  1:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20240516100244eucas1p1cd749a8cc08b1dc0b073e6f0832c2d52@eucas1p1.samsung.com>
2024-05-16 10:02 ` [GIT PULL] sysctl changes for v6.10-rc1 Joel Granados
2024-05-18  1:54   ` pr-tracker-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®