[PATCH 0/3] bootconfig: Reject unexpected data after null character and cleanups

From
Masami Hiramatsu (Google) <mhiramat@kernel.org>
Date
2026-09-09 15:53:39
Also in
lkml
Hi,

Here are patches for bootconfig to rejects unexpected config data after null
character and other cleanups including tools/bootconfig to consolidate
bootconfig initialization with errors, and skipping internal tree sanity
check in kernel.

The last one is initially reported by Sang-Heon Jeon [1].

[1] https://lore.kernel.org/all/20260905141637.1547429-1-ekffu200098@gmail.com/ (local)

Thank you,

---
base-commit: 13e8b7707efcea3a401d242958ba0a392f227847

Masami Hiramatsu (Google) (3):
      bootconfig: Reject unexpected data after null character
      tools/bootconfig: Consolidate xbc_init() to error message wrapper
      bootconfig: Skip internal tree sanity checks in kernel


 lib/bootconfig.c                    |   45 ++++++++++----
 tools/bootconfig/main.c             |  112 +++++++++++++++++------------------
 tools/bootconfig/test-bootconfig.sh |   12 ++++
 3 files changed, 99 insertions(+), 70 deletions(-)

--
Masami Hiramatsu (Google) [off-list ref]
Thread (10 messages) 10 messages, 3 authors, last reply 2026-09-10
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help