[PATCH v2 0/2] kprobes: Fix issues related to optkprobe

Yang Jihong posted 2 patches 2 years, 6 months ago
arch/x86/kernel/kprobes/opt.c | 6 +++---
include/linux/kprobes.h       | 2 ++
kernel/kprobes.c              | 4 ++--
3 files changed, 7 insertions(+), 5 deletions(-)
[PATCH v2 0/2] kprobes: Fix issues related to optkprobe
Posted by Yang Jihong 2 years, 6 months ago
Fixed optkprobe issues, mainly related to the x86 architecture.

Yang Jihong (2):
  x86/kprobes: Fix __recover_optprobed_insn check optimizing logic
  x86/kprobes: Fix arch_check_optimized_kprobe check within
    optimized_kprobe range

 arch/x86/kernel/kprobes/opt.c | 6 +++---
 include/linux/kprobes.h       | 2 ++
 kernel/kprobes.c              | 4 ++--
 3 files changed, 7 insertions(+), 5 deletions(-)

-- 

Changes since v1:
  - Remove patch1 since there is already a fix patch.
  - Add "cc stable" and modify comment for patch2.
  - Use "kprobe_disarmed" instead of "kprobe_disabled" for patch3.
  - Add fix commmit and "cc stable" for patch3.

2.30.GIT
Re: [PATCH v2 0/2] kprobes: Fix issues related to optkprobe
Posted by Masami Hiramatsu (Google) 2 years, 6 months ago
On Thu, 16 Feb 2023 11:42:45 +0800
Yang Jihong <yangjihong1@huawei.com> wrote:

> Fixed optkprobe issues, mainly related to the x86 architecture.
> 
> Yang Jihong (2):
>   x86/kprobes: Fix __recover_optprobed_insn check optimizing logic
>   x86/kprobes: Fix arch_check_optimized_kprobe check within
>     optimized_kprobe range
> 
>  arch/x86/kernel/kprobes/opt.c | 6 +++---
>  include/linux/kprobes.h       | 2 ++
>  kernel/kprobes.c              | 4 ++--
>  3 files changed, 7 insertions(+), 5 deletions(-)

Thanks for updating! These look good to me! 

Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>

Thank you,


> 
> -- 
> 
> Changes since v1:
>   - Remove patch1 since there is already a fix patch.
>   - Add "cc stable" and modify comment for patch2.
>   - Use "kprobe_disarmed" instead of "kprobe_disabled" for patch3.
>   - Add fix commmit and "cc stable" for patch3.
> 
> 2.30.GIT
> 


-- 
Masami Hiramatsu (Google) <mhiramat@kernel.org>