aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorMathieu Desnoyers <[email protected]>2024-10-31 15:20:56 +0000
committerSteven Rostedt (Google) <[email protected]>2024-11-01 18:37:31 +0000
commitee3685a98ea920369696d31e54d1fe6a939ed65f (patch)
tree5385659bb4173d8b285d3de19fe59e7ec8649ebc /net/unix/af_unix.c
parenttracing: Fix syscall tracepoint use-after-free (diff)
downloadkernel-ee3685a98ea920369696d31e54d1fe6a939ed65f.tar.gz
kernel-ee3685a98ea920369696d31e54d1fe6a939ed65f.zip
tracing: Add might_fault() check in __DECLARE_TRACE_SYSCALL
Catch incorrect use of syscall tracepoints even if no probes are registered by adding a might_fault() check in trace_##name() emitted by __DECLARE_TRACE_SYSCALL. Suggested-by: Thomas Gleixner <[email protected]> Tested-by: Jordan Rife <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Michael Jeanson <[email protected]> Cc: Masami Hiramatsu <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Alexei Starovoitov <[email protected]> Cc: Yonghong Song <[email protected]> Cc: Paul E. McKenney <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Andrii Nakryiko <[email protected]> Cc: [email protected] Cc: Joel Fernandes <[email protected]> Cc: Jordan Rife <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/[email protected] Signed-off-by: Mathieu Desnoyers <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions