Skip to contentSkip to conversation

Modules changes for v6.16-rc1

GIT PULL Merged Petr Pavlu 2 participants 2 messages Jun 2, 2025 – Jun 3, 2025

lore
Share & tools
lore

Petr Pavlu

author
#0 lore raw

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(-)
merge bot Merged
#1 lore raw
The pull request you sent on Mon, 2 Jun 2025 16:34:45 +0200:

The pull request you sent on Mon, 2 Jun 2025 16:34:45 +0200:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/modules/linux.git/ tags/modules-6.16-rc1

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

Thank you!

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