[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250825091545.18607-1-wangjinchao600@gmail.com>
Date: Mon, 25 Aug 2025 17:15:31 +0800
From: Jinchao Wang <wangjinchao600@...il.com>
To: Luis Chamberlain <mcgrof@...nel.org>,
Petr Pavlu <petr.pavlu@...e.com>,
Daniel Gomez <da.gomez@...nel.org>,
Sami Tolvanen <samitolvanen@...gle.com>,
linux-modules@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Jinchao Wang <wangjinchao600@...il.com>
Subject: [PATCH v2 0/4] module: logging and code improvements
This series of patches cleans up and refactors the kernel's module loading
code. The goal is to make the subsystem's logging clearer and its internal
logic more straightforward for developers to understand.
The patches in this series:
- module: signing: Use pr_err for signature rejection
Makes module signature rejection messages more visible.
- module: show why force load fails
Adds a reason to the error message when force loading is disabled.
- module: centralize no-versions force load check
Refactors the code to centralize the "no versions" force load check.
- module: separate vermagic and livepatch checks
Improves code organization by separating vermagic and livepatch checks.
Changes from v1:
A patch was dropped because it was based on a misunderstanding
of the ignore versioning flag's original intent.
v1 link:
https://lore.kernel.org/all/20250822125454.1287066-1-wangjinchao600@gmail.com/T/#mf748b6e97934f7a463dfdafbb426965f3e0ad646
Jinchao Wang (4):
module: signing: Use pr_err for signature rejection
module: show why force load fails
module: centralize no-versions force load check
module: separate vermagic and livepatch checks
kernel/module/main.c | 13 +++++++------
kernel/module/signing.c | 2 +-
kernel/module/version.c | 9 +++++----
3 files changed, 13 insertions(+), 11 deletions(-)
--
2.43.0
Powered by blists - more mailing lists