Skip to content

tracing: A few fixes for 6.5

Steven Rostedt lkml stable 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3tracing: Fix null pointer dereference in tracing_err_log_open()kernel/trace/trace.c+1 -10 replies
2/3arm64: ftrace: fix build error with CONFIG_FUNCTION_GRAPH_TRACER=narch/arm64/kernel/asm-offsets.c+1 -10 replies
3/3tracing/boot: Test strscpy() against less than zero for errorkernel/trace/trace_boot.c+4 -40 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchMasami Hiramatsu (Google)Florent RevestRandy DunlapCatalin Marinas
1/3A-b
2/3A-b R-b T-b A-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [for-linus][PATCH 0/3] tracing: A few fixes for 6.5

Tracing fixes for 6.5:

- Fix bad git merge of #endif in arm64 code
A merge of the arm64 tree caused #endif to go into the wrong place

- Fix crash on lseek of write access to tracefs/error_log Opening error_log as write only, and then doing an lseek() causes a kernel panic, because the lseek() handle expects a "seq_file" to exist (which is not done on write only opens). Use tracing_lseek() that tests for this instead of calling the default seq lseek handler.

- Check for negative instead of -E2BIG for error on strscpy() returns Instead of testing for -E2BIG from strscpy(), to be more robust, check for less than zero, which will make sure it catches any error that strscpy() may someday return.

git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
trace/core

Head SHA1: fddca7db4a4c17f7333793dfb5308d80c76d2896

Arnd Bergmann (1):
arm64: ftrace: fix build error with CONFIG_FUNCTION_GRAPH_TRACER=n

Mateusz Stachyra (1):
tracing: Fix null pointer dereference in tracing_err_log_open()

Steven Rostedt (Google) (1):
tracing/boot: Test strscpy() against less than zero for error

----

 arch/arm64/kernel/asm-offsets.c | 2 +-
 kernel/trace/trace.c            | 2 +-
 kernel/trace/trace_boot.c       | 8 ++++----
 3 files changed, 6 insertions(+), 6 deletions(-)