summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2026-11-25 09:11:32 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2026-11-25 09:11:32 -0800
commit3d4ed0e55cf54d9d05b5d8603593125cadd2e3db (patch)
treed89b33f489416227db38c07b925cdeef8586d04c /tools/perf/scripts/python
parent4dce97c6c265544342e716e62fd24bbb232590c5 (diff)
parent56bb11fe6aacc7666938e8e6765b44aa0cf1fcdd (diff)
Merge tag 'bootconfig-fixes-v7.4-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace
Pull bootconfig fixes from Masami Hiramatsu: - bootconfig: Exclude alignment padding from bootconfig max size Separate the padded trailer size limit from XBC_DATA_MAX and strip up to three trailing NUL alignment bytes before xbc_init() so valid max-size configs are not rejected depending on initrd alignment - bootconfig: Free the initrd memory used by bootconfig Save the original initrd_end before trimming the bootconfig and restore it when freeing initrd memory so pages previously occupied by bootconfig data are not leaked - bootconfig: Parser fixes and tests according to LEAN check - Fix xbc_verify_tree() to check subkeys of valued keys Use xbc_node_get_subkey() when descending so subkeys under mixed value+subkey nodes cannot bypass XBC_DEPTH_MAX and XBC_KEYLEN_MAX - Fix xbc_node_compose_key_after() for value nodes Walk parent pointers across chained array value nodes before checking @root so composed keys exclude array values and NUL-terminate @buf - Avoid out-of-bounds pointer arithmetic in xbc_snprint_cmdline_filter() Pass NULL to snprintf() when len >= size so buf + len is not formed past the buffer end on overflow - Add tests for unclosed brace position and mixed-kv limits Expand test-bootconfig.sh to cover unclosed brace error positions and mixed value+subkey depth and key-length limits - tools/bootconfig: Use registered global tracing parameter names Update boottime-trace.rst and ftrace2bconf.sh to use the registered global tracing parameter names, while keeping fallback support in bconf2ftrace.sh for existing configs - tools/bootconfig: Fix read/write error handling in bootconfig tool - Reject short reads of configuration data in load_xbc_fd() and free the allocated buffer on failure so partial reads are never parsed or checksummed - Check write() return values for negative errors before comparing against unsigned size_t counts so initrd append failures are reported * tag 'bootconfig-fixes-v7.4-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace: tools/bootconfig: Report initrd append failures tools/bootconfig: Reject short reads of configuration data tools/bootconfig: Use the registered global tracing parameter names tools/bootconfig: Add tests for unclosed brace position and mixed-kv limits bootconfig: Avoid out-of-bounds pointer arithmetic in xbc_snprint_cmdline_filter() bootconfig: Fix xbc_node_compose_key_after() for value nodes bootconfig: Fix xbc_verify_tree() to check subkeys of valued keys bootconfig: Free the initrd memory used by bootconfig bootconfig: Exclude alignment padding from bootconfig max size
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions