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>] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 17 Sep 2021 19:02:24 +0900
From:   Masami Hiramatsu <mhiramat@...nel.org>
To:     Steven Rostedt <rostedt@...dmis.org>
Cc:     Linus Torvalds <torvalds@...ux-foundation.org>,
        LKML <linux-kernel@...r.kernel.org>,
        Masami Hiramatsu <mhiramat@...nel.org>
Subject: [PATCH 0/7] bootconfig: Clean up bootconfig

Hi,

Here is a bootconfig cleanup series which includes a previous
xbc_destroy_all() renaming patch. Basically this tries to remove
all dummy patched in tools/bootconfig, except include/linux/bootconfig.

This series can be applied on top of 1-3rd patch of this series.

 https://lore.kernel.org/all/163177338366.682366.5998343833719057348.stgit@devnote2/T/#u


As I added a NOTE in the bootconfig files, those are not intended to
be used from user application, except for tools/bootconfig. Because
tools/bootconfig runs parser tests, it must use the same code of
lib/bootconfig.

However, I don't want to keep the dummy headers for that. This series
minimize the differences and consolidate it to the one wrapper header.

I hope this eases the current situation so that the future change will
not (or hard to) break tools/bootconfig build.

Thank you,

---

Masami Hiramatsu (7):
      tools/bootconfig: Run test script when build all
      bootconfig: Rename xbc_destroy_all() to xbc_exit()
      bootconfig: Split parse-tree part from xbc_init
      bootconfig: Remove unused debug function
      tools/bootconfig: Print all error message in stderr
      bootconfig: Replace u16 and u32 with uint16_t and uint32_t
      bootconfig: Cleanup dummy headers in tools/bootconfig


 include/linux/bootconfig.h                  |   27 ++--
 init/main.c                                 |    2 
 lib/bootconfig.c                            |  187 +++++++++++++++------------
 tools/bootconfig/Makefile                   |    4 -
 tools/bootconfig/include/linux/bootconfig.h |   45 ++++++
 tools/bootconfig/include/linux/bug.h        |   12 --
 tools/bootconfig/include/linux/ctype.h      |    7 -
 tools/bootconfig/include/linux/errno.h      |    7 -
 tools/bootconfig/include/linux/kernel.h     |   18 ---
 tools/bootconfig/include/linux/memblock.h   |   11 --
 tools/bootconfig/include/linux/printk.h     |   14 --
 tools/bootconfig/include/linux/string.h     |   32 -----
 tools/bootconfig/main.c                     |   25 ++--
 13 files changed, 181 insertions(+), 210 deletions(-)
 delete mode 100644 tools/bootconfig/include/linux/bug.h
 delete mode 100644 tools/bootconfig/include/linux/ctype.h
 delete mode 100644 tools/bootconfig/include/linux/errno.h
 delete mode 100644 tools/bootconfig/include/linux/kernel.h
 delete mode 100644 tools/bootconfig/include/linux/memblock.h
 delete mode 100644 tools/bootconfig/include/linux/printk.h
 delete mode 100644 tools/bootconfig/include/linux/string.h

-- 
Masami Hiramatsu (Linaro) <mhiramat@...nel.org>

Powered by blists - more mailing lists