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-next>] [day] [month] [year] [list]
Message-Id: <163077084169.222577.4459698040375322439.stgit@devnote2>
Date:   Sun,  5 Sep 2021 00:54:01 +0900
From:   Masami Hiramatsu <mhiramat@...nel.org>
To:     Steven Rostedt <rostedt@...dmis.org>
Cc:     Masami Hiramatsu <mhiramat@...nel.org>,
        LKML <linux-kernel@...r.kernel.org>
Subject: [PATCH v3 0/6] bootconfig: Cleanup and reorder the init parameter from bootconfig

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,

---

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>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ