lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20241128061743.747624-1-guoweikang.kernel@gmail.com>
Date: Thu, 28 Nov 2024 14:17:38 +0800
From: Guo Weikang <guoweikang.kernel@...il.com>
To: brian.haley@...com,
	davem@...emloft.net,
	Jonathan Corbet <corbet@....net>,
	"Paul E. McKenney" <paulmck@...nel.org>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Thomas Huth <thuth@...hat.com>,
	Steven Rostedt <rostedt@...dmis.org>,
	Xiongwei Song <xiongwei.song@...driver.com>
Cc: Guo Weikang <guoweikang.kernel@...il.com>,
	linux-doc@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: [PATCH] Documentation/ipv6: Fix missing MODULE_PARAM_PREFIX in ipv6 parameters

The documentation for some IPv6 kernel parameters (in
Documentation/admin-guide/kernel-parameters.txt) was missing the
MODULE_PARAM_PREFIX. This could cause confusion during boot,
as parameters like "disable_ipv6" would trigger warnings such as:

    [    0.000000] Unknown kernel command line parameters
    "disable_ipv6=0", will be passed to user space.

This commit updates the documentation to include correct
MODULE_PARAM_PREFIX

Signed-off-by: Guo Weikang <guoweikang.kernel@...il.com>
---
 .../admin-guide/kernel-parameters.txt          | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
index dc663c0ca670..534db0ace5dd 100644
--- a/Documentation/admin-guide/kernel-parameters.txt
+++ b/Documentation/admin-guide/kernel-parameters.txt
@@ -424,9 +424,6 @@
 			      useful so that a dump capture kernel won't be
 			      shot down by NMI
 
-	autoconf=	[IPV6]
-			See Documentation/networking/ipv6.rst.
-
 	apm=		[APM] Advanced Power Management
 			See header of arch/x86/kernel/apm_32.c.
 
@@ -1140,9 +1137,6 @@
 			can be useful when debugging issues that require an SLB
 			miss to occur.
 
-	disable=	[IPV6]
-			See Documentation/networking/ipv6.rst.
-
 	disable_radix	[PPC,EARLY]
 			Disable RADIX MMU mode on POWER9
 
@@ -1154,9 +1148,6 @@
 			Disable Dynamic DMA Window support. Use this
 			to workaround buggy firmware.
 
-	disable_ipv6=	[IPV6]
-			See Documentation/networking/ipv6.rst.
-
 	disable_mtrr_cleanup [X86,EARLY]
 			The kernel tries to adjust MTRR layout from continuous
 			to discrete, to make X server driver able to add WB
@@ -2387,6 +2378,15 @@
 			an audit event when a binary is allowed. The default
 			is 0.
 
+	ipv6.autoconf=	[IPV6]
+			See Documentation/networking/ipv6.rst.
+
+	ipv6.disable=	[IPV6]
+			See Documentation/networking/ipv6.rst.
+
+	ipv6.disable_ipv6=	[IPV6]
+			See Documentation/networking/ipv6.rst.
+
 	irqaffinity=	[SMP] Set the default irq affinity mask
 			The argument is a cpu list, as described above.
 
-- 
2.25.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ