OpenCloudOS-Kernel/arch/csky/kernel/probes
Liao Chang a2310c74d4 csky/kprobe: reclaim insn_slot on kprobe unregistration
On kprobe registration kernel allocate one insn_slot for new kprobe,
but it forget to reclaim the insn_slot on unregistration, leading to a
potential leakage.

Reported-by: Chen Guokai <chenguokai17@mails.ucas.ac.cn>
Reviewed-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Liao Chang <liaochang1@huawei.com>
Signed-off-by: Guo Ren <guoren@kernel.org>
2022-07-22 21:36:14 -04:00
..
Makefile csky: Add uprobes support 2020-04-03 11:37:51 +08:00
decode-insn.c
decode-insn.h
ftrace.c ftrace: disable preemption when recursion locked 2021-10-27 11:21:49 -04:00
kprobes.c csky/kprobe: reclaim insn_slot on kprobe unregistration 2022-07-22 21:36:14 -04:00
kprobes_trampoline.S kprobes: treewide: Make it harder to refer kretprobe_trampoline directly 2021-09-30 21:24:06 -04:00
simulate-insn.c csky: kprobe: Fixup code in simulate without 'long' 2021-02-27 16:34:50 +08:00
simulate-insn.h
uprobes.c csky: fix typos in comments 2022-04-06 22:37:58 +08:00