Re: [PATCH 1/7] kprobes: Disable Kprobe when ftrace arming fails

2015-02-26 Thread Masami Hiramatsu
(2015/02/27 1:13), Petr Mladek wrote: > arm_kprobe_ftrace() could fail, especially after introducing ftrace IPMODIFY > flag and LifePatching. But this situation is not properly handled. > This patch adds the most important changes. Hmm, as you know, I actually working on it to drop IPMODIFY from k

[PATCH 1/7] kprobes: Disable Kprobe when ftrace arming fails

2015-02-26 Thread Petr Mladek
arm_kprobe_ftrace() could fail, especially after introducing ftrace IPMODIFY flag and LifePatching. But this situation is not properly handled. This patch adds the most important changes. First, it does not make sense to register "kprobe_ftrace_ops" if the filter was not set. Second, we should re