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] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 8 Sep 2021 12:46:18 +0900
From:   Masami Hiramatsu <mhiramat@...nel.org>
To:     Masami Hiramatsu <mhiramat@...nel.org>
Cc:     Steven Rostedt <rostedt@...dmis.org>,
        LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v3 0/6] bootconfig: Cleanup and reorder the init
 parameter from bootconfig

On Sun,  5 Sep 2021 00:54:01 +0900
Masami Hiramatsu <mhiramat@...nel.org> wrote:

> Hi Steve,
> 
> Here is the 3rd version of the patches to update the bootconfig.
> I added 3 patches to fix some issues. One issue is from Julio which
> fixes a compilation error ([5/6]*). And the other 2 are fixing
> ftrace2bconf script ([4/6]) and cleanup test script ([6/6]).
> 
> * https://lore.kernel.org/all/20210831033256.5973-1-jcfaracco@gmail.com/T/#u
> 
> The 1st one is for bootconfig memory cleanup when exiting init stage.
> The 2nd one and 3rd one are for reordering the init parameters from
> bootconfig.
> Since the current kernel concatenate the kernel cmdline and the
> bootconfig parameters as below.
> 
> [bootconfig kernel params][cmdline] -- [init cmdline][bootconfig init params]
> 
> This is bit odd because for the kernel parameters, user passed cmdline
> can override the previous (bootconfig) one, but for the init cmdline,
> bootconfig may override the parameter.
> Thus, this series invert the order as the following.
> 
> [bootconfig kernel params][cmdline] -- [bootconfig init params][init cmdline]
> 
> The 3rd patch is adding how to use the bootconfig for passing kernel
> and init parameters.
> 
> Thank you,

Hi Steve,

BTW, this includes Julio's fix patch we discussed in the other thread.
If you picked it, please ignore that patch in this series.

Thank you,

> 
> ---
> 
> Julio Faracco (1):
>       bootconfig: Fix missing return check of xbc_node_compose_key function
> 
> Masami Hiramatsu (5):
>       init: bootconfig: Remove all bootconfig data when the init memory is removed
>       init/bootconfig: Reorder init parameter from bootconfig and cmdline
>       docs: bootconfig: Add how to use bootconfig for kernel parameters
>       tools/bootconfig: Fix tracing_on option checking in ftrace2bconf.sh
>       tools/bootconfig: Show whole test command for each test case
> 
> 
>  Documentation/admin-guide/bootconfig.rst |   39 +++++++++++++++++++++++++++++-
>  init/main.c                              |   37 ++++++++++++++++++++--------
>  tools/bootconfig/main.c                  |    4 ++-
>  tools/bootconfig/scripts/ftrace2bconf.sh |    4 ++-
>  tools/bootconfig/test-bootconfig.sh      |    4 ++-
>  5 files changed, 71 insertions(+), 17 deletions(-)
> 
> --
> Masami Hiramatsu (Linaro) <mhiramat@...nel.org>


-- 
Masami Hiramatsu <mhiramat@...nel.org>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ