diff options
author | Ze Gao <[email protected]> | 2023-07-03 17:23:36 +0800 |
---|---|---|
committer | Masami Hiramatsu (Google) <[email protected]> | 2023-07-11 00:48:33 +0900 |
commit | 5f0c584daf7464f04114c65dd07269ee2bfedc13 (patch) | |
tree | becaebd050834010c37ec2972c2adebddb0c103e /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | cf0a624dc706c306294c14e6b3e7694702f25191 (diff) |
fprobe: add unlock to match a succeeded ftrace_test_recursion_trylock
Unlock ftrace recursion lock when fprobe_kprobe_handler() is failed
because of some running kprobe.
Link: https://lore.kernel.org/all/[email protected]/
Fixes: 3cc4e2c5fbae ("fprobe: make fprobe_kprobe_handler recursion free")
Reported-by: Yafang <[email protected]>
Closes: https://lore.kernel.org/linux-trace-kernel/CALOAHbC6UpfFOOibdDiC7xFc5YFUgZnk3MZ=3Ny6we=AcrNbew@mail.gmail.com/
Signed-off-by: Ze Gao <[email protected]>
Acked-by: Masami Hiramatsu (Google) <[email protected]>
Acked-by: Yafang Shao <[email protected]>
Reviewed-by: Steven Rostedt (Google) <[email protected]>
Signed-off-by: Masami Hiramatsu (Google) <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions