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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220812084613.GA3107@willie-the-truck>
Date:   Fri, 12 Aug 2022 09:46:14 +0100
From:   Will Deacon <will@...nel.org>
To:     "George G. Davis" <george_davis@...tor.com>
Cc:     Catalin Marinas <catalin.marinas@....com>,
        "moderated list:ARM64 PORT (AARCH64 ARCHITECTURE)" 
        <linux-arm-kernel@...ts.infradead.org>,
        open list <linux-kernel@...r.kernel.org>,
        "George G. Davis" <davis.george@...mens.com>
Subject: Re: [PATCH] arm64: enable kernel command line concatenation

On Thu, Aug 11, 2022 at 07:11:27PM -0400, George G. Davis wrote:
> From: "George G. Davis" <davis.george@...mens.com>
> 
> Enable CONFIG_CMDLINE to extend the boot loader supplied cmdline. This
> can then be used in config fragments to set command line arguments
> specific to testing of different kernel config options.
> 
> Signed-off-by: George G. Davis <davis.george@...mens.com>
> ---
>  arch/arm64/Kconfig | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
> index 571cc234d0b3..cf4a44cde21b 100644
> --- a/arch/arm64/Kconfig
> +++ b/arch/arm64/Kconfig
> @@ -2140,6 +2140,12 @@ config CMDLINE_FROM_BOOTLOADER
>  	  the boot loader doesn't provide any, the default kernel command
>  	  string provided in CMDLINE will be used.
>  
> +config CMDLINE_EXTEND
> +	bool "Extend bootloader kernel arguments"
> +	help
> +	  The command-line arguments provided by the boot loader will be
> +	  appended to the default kernel command string.
> +

Please see cae118b6acc3 ("arm64: Drop support for CMDLINE_EXTEND") and the
Link tags in there for some background as to why we shouldn't just enable
this option.

Thanks,

Will

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ