[GIT PULL] Modules changes for v6.9-rc1
From: Luis Chamberlain
Date: Tue Mar 12 2024 - 21:38:42 EST
The following changes since commit 41bccc98fb7931d63d03f326a746ac4d429c1dd3:
Linux 6.8-rc2 (2024-01-28 17:01:12 -0800)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux.git/ tags/modules-6.9-rc1
for you to fetch changes up to d1909c0221739356f31c721de4743e7d219a56cc:
module: Don't ignore errors from set_memory_XX() (2024-02-16 11:30:43 -0800)
----------------------------------------------------------------
Modules changes for v6.9-rc1
Christophe Leroy did most of the work on this release, first with a few
cleanups on CONFIG_STRICT_KERNEL_RWX and ending with error handling for
when set_memory_XX() can fail. This is part of a larger effort to clean
up all these callers which can fail, modules is just part of it.
This has been sitting on linux-next for about a month without issues.
----------------------------------------------------------------
Christophe Leroy (6):
module: Use set_memory_rox()
module: Change module_enable_{nx/x/ro}() to more explicit names
init: Declare rodata_enabled and mark_rodata_ro() at all time
modules: Remove #ifdef CONFIG_STRICT_MODULE_RWX around rodata_enabled
powerpc: Simplify strict_kernel_rwx_enabled()
module: Don't ignore errors from set_memory_XX()
Randy Dunlap (1):
lib/test_kmod: fix kernel-doc warnings
arch/powerpc/include/asm/mmu.h | 9 +-----
include/linux/init.h | 4 ---
init/main.c | 21 +++++---------
kernel/module/internal.h | 6 ++--
kernel/module/main.c | 20 +++++++++++---
kernel/module/strict_rwx.c | 63 +++++++++++++++++++++++++++---------------
lib/test_kmod.c | 6 +++-
7 files changed, 73 insertions(+), 56 deletions(-)