summaryrefslogtreecommitdiff
path: root/kernel/trace/trace_syscalls.c
diff options
context:
space:
mode:
authorZe Gao <zegao2021@gmail.com>2023-05-17 11:45:06 +0800
committerMasami Hiramatsu (Google) <mhiramat@kernel.org>2023-05-18 07:08:01 +0900
commitbe243bacfb25f5219f2396d787408e8cf1301dd1 (patch)
treeadeceea8d080d6086af432f8ca5aa6b01d716e46 /kernel/trace/trace_syscalls.c
parent6049674b5720edbbb13a7cb3e2f3d2affaa40c19 (diff)
rethook: use preempt_{disable, enable}_notrace in rethook_trampoline_handler
This patch replaces preempt_{disable, enable} with its corresponding notrace version in rethook_trampoline_handler so no worries about stack recursion or overflow introduced by preempt_count_{add, sub} under fprobe + rethook context. Link: https://lore.kernel.org/all/20230517034510.15639-2-zegao@tencent.com/ Fixes: 54ecbe6f1ed5 ("rethook: Add a generic return hook") Signed-off-by: Ze Gao <zegao@tencent.com> Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org> Cc: <stable@vger.kernel.org> Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Diffstat (limited to 'kernel/trace/trace_syscalls.c')
0 files changed, 0 insertions, 0 deletions