From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 00B2D456E11 for ; Thu, 24 Sep 2026 19:34:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790278456; cv=none; b=Bg2sLao6X9gvS8Pp1rxRN/PVqphMCYjRFE3wf/jo7k5cpNpK0EvY520OveAhX5CZe/AwqKt/B+4lbimBJsLjZBMoVr4Tdxc5U7YoGQB8mBZcmkyZBPzjsJJ74UHgxUCKEgwIOXS2AkpIhDkff7UTGE57gof7Q6dZbKWeaFSLKPk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790278456; c=relaxed/simple; bh=xLhtInSZ4b5C+0JgCxeI3gJOFWuuYDoVtpjQod/Gyxc=; h=Date:To:From:Subject:Message-Id; b=uodNqMB7kKxDwH+k4jVxqjfhx1Kx8D1IWgpyHM6FS59+iLW4uqljA5nzhU7guxJRQVRTQ4M1ey1VkU7UOklCVfzkvauWFkPXCdbFZXb/eqVtZhjG6daMlzJppAumWcHTr1UKROXrAjcDbrA4L2R9WyFLpiN0TPjXnltQkgjQ7TI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=u85KdmSg; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="u85KdmSg" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 016AF1F00898; Thu, 24 Sep 2026 19:34:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=korg; t=1790278452; bh=GGqD9JYb8fBPBEtCiLNf1/WuosB4QdFOuoYZad0iUKw=; h=Date:To:From:Subject; b=u85KdmSgzquVQoboG8cQBugGx1wRAhYzZpG98mXeqIBMtLRbCFSpz17gWHM0ZLOEf EnnBFLb0xyIS1SsAgCStF0c8wGb6rwrJK7E+o8o2G3Ogoyq75ua/LPo5m+R7WfxxFW h2Q1Us98c4/AbiE1jPJB01qUhikKCXwRDKEATcsw= Date: Thu, 24 Sep 2026 12:34:11 -0700 To: mm-commits@vger.kernel.org,atomlin@atomlin.com,akpm@linux-foundation.org From: Andrew Morton Subject: [to-be-updated] module-rename-module_blacklist-to-module_denylist.patch removed from -mm tree Message-Id: <20260924193412.016AF1F00898@smtp.kernel.org> Precedence: bulk X-Mailing-List: mm-commits@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: The quilt patch titled Subject: module: rename module_blacklist to module_denylist has been removed from the -mm tree. Its filename was module-rename-module_blacklist-to-module_denylist.patch This patch was dropped because an updated version will be issued ------------------------------------------------------ From: Aaron Tomlin Subject: module: rename module_blacklist to module_denylist Date: Tue, 8 Sep 2026 16:32:30 -0400 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 Signed-off-by: Andrew Morton Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Cc: Luis Chamberalin Cc: "Masami Hiramatsu (Google)" Cc: Miguel Ojeda Cc: Peter Zijlstra Cc: Petr Pavlu Cc: Sami Tolvanen --- Documentation/admin-guide/kernel-parameters.txt | 6 +++- include/linux/module.h | 2 - init/main.c | 19 +++++++------- kernel/module/main.c | 4 +- 4 files changed, 18 insertions(+), 13 deletions(-) --- a/Documentation/admin-guide/kernel-parameters.txt~module-rename-module_blacklist-to-module_denylist +++ a/Documentation/admin-guide/kernel-parameters.txt @@ -4232,7 +4232,11 @@ Kernel parameters Note that if CONFIG_MODULE_SIG_FORCE is set, that is always true, so this option does nothing. - module_blacklist= [KNL] Do not load a comma-separated list of + module_blacklist= [KNL] (deprecated) + This parameter has been renamed to module_denylist=. + Please use module_denylist= instead. + + module_denylist= [KNL] Do not load a comma-separated list of modules. Useful for debugging problem modules. mousedev.tap_time= --- a/include/linux/module.h~module-rename-module_blacklist-to-module_denylist +++ a/include/linux/module.h @@ -879,7 +879,7 @@ static inline void module_for_each_mod(i } #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; --- a/init/main.c~module-rename-module_blacklist-to-module_denylist +++ a/init/main.c @@ -1352,17 +1352,17 @@ static inline void do_trace_initcall_lev extern struct initcall_modname __start_initcall_modnames[]; extern struct initcall_modname __stop_initcall_modnames[]; -/* module_blacklist is a comma-separated list of module names */ -static char *module_blacklist; -bool __init_or_module module_is_blacklisted(const char *module_name) +/* module_denylist is a comma-separated list of module names */ +static char *module_denylist; +bool __init_or_module module_is_denylisted(const char *module_name) { const char *p; size_t len; - if (!module_blacklist) + if (!module_denylist) return false; - for (p = module_blacklist; *p; p += len) { + for (p = module_denylist; *p; p += len) { len = strcspn(p, ","); if (strlen(module_name) == len && parameqn(module_name, p, len)) return true; @@ -1371,7 +1371,8 @@ bool __init_or_module module_is_blacklis } return false; } -core_param(module_blacklist, module_blacklist, charp, 0400); +core_param(module_denylist, module_denylist, charp, 0400); +core_param(module_blacklist, module_denylist, charp, 0400); static const char *__init get_builtin_modname(initcall_t fn) { @@ -1388,10 +1389,10 @@ static void __init do_one_initcall_built { const char *modname; - if (module_blacklist) { + if (module_denylist) { modname = get_builtin_modname(fn); - if (modname && module_is_blacklisted(modname)) { - pr_info("Skipping initcall for blacklisted built-in module %s\n", + if (modname && module_is_denylisted(modname)) { + pr_info("Skipping initcall for denylisted built-in module %s\n", modname); return; } --- a/kernel/module/main.c~module-rename-module_blacklist-to-module_denylist +++ a/kernel/module/main.c @@ -3382,8 +3382,8 @@ static int early_mod_check(struct load_i * 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; } _ Patches currently in -mm which might be from atomlin@atomlin.com are hung_task-reset-warning-budget-when-problem-gets-resolved.patch hung_task-log-summary-line-when-warning-budget-is-exhausted.patch