[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250630143535.267745-1-petr.pavlu@suse.com>
Date: Mon, 30 Jun 2025 16:32:31 +0200
From: Petr Pavlu <petr.pavlu@...e.com>
To: Luis Chamberlain <mcgrof@...nel.org>,
Petr Pavlu <petr.pavlu@...e.com>,
Sami Tolvanen <samitolvanen@...gle.com>,
Daniel Gomez <da.gomez@...sung.com>
Cc: linux-modules@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 0/5] module: Fix minor problems related to MODULE_NAME_LEN
Fix a few minor problems related to MODULE_NAME_LEN and
MAX_PARAM_PREFIX_LEN, and clean up their usage.
Petr Pavlu (5):
module: Prevent silent truncation of module name in delete_module(2)
module: Remove unnecessary +1 from last_unloaded_module::name size
module: Restore the moduleparam prefix length check
tracing: Replace MAX_PARAM_PREFIX_LEN with MODULE_NAME_LEN
module: Rename MAX_PARAM_PREFIX_LEN to __MODULE_NAME_LEN
include/linux/module.h | 2 +-
include/linux/moduleparam.h | 15 +++++++++------
kernel/module/main.c | 12 +++++++-----
kernel/trace/trace.c | 2 +-
4 files changed, 18 insertions(+), 13 deletions(-)
base-commit: d0b3b7b22dfa1f4b515fd3a295b3fd958f9e81af
--
2.49.0
Powered by blists - more mailing lists