Re: [BUG kretprobes] kretprobe triggers General Protection Faults

2014-02-25 Thread Masami Hiramatsu
Hi Mathieu, (2014/02/26 4:46), Mathieu Desnoyers wrote: > Hi, > > I had a bug report[1] from a user trying to add a kretprobe on the system > call entry code path: > > arch/x86/kernel/entry_64.S: > > 813dffe2 : > cmpl $__NR_syscall_max,%eax > #endif > ja badsys >

[BUG kretprobes] kretprobe triggers General Protection Faults

2014-02-25 Thread Mathieu Desnoyers
Hi, I had a bug report[1] from a user trying to add a kretprobe on the system call entry code path: arch/x86/kernel/entry_64.S: 813dffe2 : cmpl $__NR_syscall_max,%eax #endif ja badsys movq %r10,%rcx call *sys_call_table(,%rax,8) # XXX:rip relative