On Fri, Jul 10, 2020 at 06:00:14PM -0400, Steven Rostedt wrote:
> > +int static_call_text_reserved(void *start, void *end)
> > +{
> > + int ret = __static_call_text_reserved(__start_static_call_sites,
> > + __stop_static_call_sites, start, end);
> > +
> > + if (ret)
> > +
On Fri, 10 Jul 2020 15:38:39 +0200
Peter Zijlstra wrote:
> Similar to how we disallow kprobes on any other dynamic text
> (ftrace/jump_label) also disallow kprobes on inline static_call()s.
>
> Signed-off-by: Peter Zijlstra (Intel)
I'd like to have Masami review this patch too.
> ---
>
Similar to how we disallow kprobes on any other dynamic text
(ftrace/jump_label) also disallow kprobes on inline static_call()s.
Signed-off-by: Peter Zijlstra (Intel)
---
arch/x86/kernel/kprobes/opt.c |4 +-
include/linux/static_call.h | 11 +++
kernel/kprobes.c |2
3 matches
Mail list logo