Revision 29b6cd794e73eea7600541d06288a09861ffecb0 authored by Masami Hiramatsu on 18 December 2007, 17:05:58 UTC, committed by Ingo Molnar on 18 December 2007, 17:05:58 UTC
jprobe for x86-64 may cause kernel page fault when the jprobe_return()
is called from incorrect function.

- Use jprobe_saved_regs instead getting it from stack.
  (Especially on x86-64, it may get incorrect data, because
   pt_regs can not be get by using container_of(rsp))
- Change the type of stack pointer to unsigned long *.

Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
1 parent b4be625
History
File Mode Size
.gitignore -rw-r--r-- 31 bytes
BIG.FAT.WARNING -rw-r--r-- 234 bytes
check-lxdialog.sh -rw-r--r-- 1.5 KB
checklist.c -rw-r--r-- 8.0 KB
dialog.h -rw-r--r-- 6.5 KB
inputbox.c -rw-r--r-- 5.9 KB
menubox.c -rw-r--r-- 10.8 KB
textbox.c -rw-r--r-- 8.9 KB
util.c -rw-r--r-- 16.5 KB
yesno.c -rw-r--r-- 2.8 KB

back to top