https://jira.sw.ru/browse/PSBM-66876

If one tries to place a kprobe on an instruction that uses %rip-relative 
addressing, register_kprobe() fails with -EINVAL because __copy_instruction() 
from arch/x86/kernel/kprobes/core.c incorrectly returns 0.

This makes it harder to use kprobes for the kernel debugging and might affect 
the tools like SystemTap as well.

Here is an old patch of mine (mainlined) that fixes the issue.

Regards,
Evgenii

_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to