+68
−39
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Introduce arch_uprobe->ops pointing to the "struct uprobe_xol_ops",
move the current UPROBE_FIX_{RIP*,IP,CALL} code into the default
set of methods and change arch_uprobe_pre/post_xol() accordingly.
This way we can add the new uprobe_xol_ops's to handle the insns
which need the special processing (rip-relative jmp/call at least).
Signed-off-by:
Oleg Nesterov <oleg@redhat.com>
Reviewed-by:
Jim Keniston <jkenisto@us.ibm.com>
Reviewed-by:
Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>