
Backport LTS-6.6 patch (patch 7): tracing: Check "%s" dereference via the field rather than the TP_printk format and its dependent patches (patch 1-6), fix patches (patch 8-9). v2: - Add fix patch 8-9. Kees Cook (1): seq_buf: Introduce DECLARE_SEQ_BUF and seq_buf_str() Matthew Wilcox (Oracle) (2): tracing: Move readpos from seq_buf to trace_seq powerpc: Remove initialisation of readpos Nathan Lynch (1): seq_buf: Make DECLARE_SEQ_BUF() usable Steven Rostedt (5): tracing: Fix test_event_printk() to process entire print argument tracing: Add missing helper functions in event pointer dereference check tracing: Add "%s" check in test_event_printk() tracing: Check "%s" dereference via the field and not the TP_printk format tracing: Have process_string() also allow arrays arch/powerpc/kernel/setup-common.c | 1 - include/linux/seq_buf.h | 25 ++- include/linux/trace_events.h | 6 +- include/linux/trace_seq.h | 2 + kernel/trace/trace.c | 233 ++++++++-------------------- kernel/trace/trace.h | 6 +- kernel/trace/trace_events.c | 237 +++++++++++++++++++++++------ kernel/trace/trace_output.c | 6 +- kernel/trace/trace_seq.c | 6 +- lib/seq_buf.c | 26 ++-- 10 files changed, 297 insertions(+), 251 deletions(-) -- 2.25.1