summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAaron Tomlin <atomlin@atomlin.com>2026-09-08 16:32:30 -0400
committerAndrew Morton <akpm@linux-foundation.org>2026-09-13 21:33:41 -0700
commit99b4fa092e0b3f85990dc6195619c61b16308045 (patch)
treef1439e6b8970b9c34907e49edd61f06857d09bcf /include
parentb83e83203582477b2ad0631e29e6fd88295cd9b1 (diff)
downloadlinux-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 'include')
-rw-r--r--include/linux/module.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/module.h b/include/linux/module.h
index bcc54edbde7d..39386a18285b 100644
--- a/include/linux/module.h
+++ b/include/linux/module.h
@@ -879,7 +879,7 @@ static inline void module_for_each_mod(int(*func)(struct module *mod, void *data
}
#endif /* CONFIG_MODULES */
-bool module_is_blacklisted(const char *module_name);
+bool module_is_denylisted(const char *module_name);
#ifdef CONFIG_SYSFS
extern struct kset *module_kset;