diff options
| author | Aaron Tomlin <atomlin@atomlin.com> | 2026-09-08 16:32:30 -0400 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-09-13 21:33:41 -0700 |
| commit | 99b4fa092e0b3f85990dc6195619c61b16308045 (patch) | |
| tree | f1439e6b8970b9c34907e49edd61f06857d09bcf /kernel | |
| parent | b83e83203582477b2ad0631e29e6fd88295cd9b1 (diff) | |
| download | linux-next-99b4fa092e0b3f85990dc6195619c61b16308045.tar.gz linux-next-99b4fa092e0b3f85990dc6195619c61b16308045.zip | |
module: rename module_blacklist to module_denylist
To preserve the existing user-space ABI, "module_blacklist=" is kept as a
legacy alias pointing to the same module_denylist variable.
This patch addresses the documentation by marking "module_blacklist=" as
deprecated in admin-guide/kernel-parameters.txt, and documents the new
"module_denylist=" parameter. All internal symbols, such as
module_is_blacklisted(), have been renamed to use "denylist" and all log
messages now use "denylisted".
Link: https://lore.kernel.org/20260908203230.401020-4-atomlin@atomlin.com
Signed-off-by: Aaron Tomlin <atomlin@atomlin.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Luis Chamberalin <mcgrof@kernel.org>
Cc: "Masami Hiramatsu (Google)" <mhiramat@kernel.org>
Cc: Miguel Ojeda <ojeda@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Petr Pavlu <petr.pavlu@suse.com>
Cc: Sami Tolvanen <samitolvanen@google.com>
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/module/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/module/main.c b/kernel/module/main.c index d6749fa38490..de3161f6189e 100644 --- a/kernel/module/main.c +++ b/kernel/module/main.c @@ -3382,8 +3382,8 @@ static int early_mod_check(struct load_info *info, int flags) * Now that we know we have the correct module name, check * if it's blacklisted. */ - if (module_is_blacklisted(info->name)) { - pr_err("Module %s is blacklisted\n", info->name); + if (module_is_denylisted(info->name)) { + pr_err("Module %s is denylisted\n", info->name); return -EPERM; } |
