[GIT PULL] Modules changes for v6.16-rc1
From: Petr Pavlu
Date: Mon Jun 02 2025 - 10:54:15 EST
The following changes since commit 82f2b0b97b36ee3fcddf0f0780a9a0825d52fec3:
Linux 6.15-rc6 (2025-05-11 14:54:11 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/modules/linux.git/ tags/modules-6.16-rc1
for you to fetch changes up to a0b018a495a3f68693e45ab570fae8191d907d86:
module: Remove outdated comment about text_size (2025-05-18 13:56:22 +0200)
----------------------------------------------------------------
Modules changes for 6.16-rc1
- Make .static_call_sites in modules read-only after init
The .static_call_sites sections in modules have been made read-only after
init to avoid any (non-)accidental modifications, similarly to how they
are read-only after init in vmlinux.
- The rest are minor cleanups.
The changes have been on linux-next for 2 months, with the exception of the
last comment-only cleanup.
As discussed previously, we rotate module maintainership among its
co-maintainers every 6 months. Daniel Gomez is next in line and he will
send the next pull request for the modules.
----------------------------------------------------------------
Petr Pavlu (3):
module: Constify parameters of module_enforce_rwx_sections()
module: Add a separate function to mark sections as read-only after init
module: Make .static_call_sites read-only after init
Valentin Schneider (1):
module: Remove outdated comment about text_size
kernel/module/internal.h | 7 +++++--
kernel/module/main.c | 27 +++++++-------------------
kernel/module/strict_rwx.c | 47 ++++++++++++++++++++++++++++++++++++++++++++--
3 files changed, 57 insertions(+), 24 deletions(-)