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
Kconfig -rw-r--r-- 2.0 KB
Kconfig.iosched -rw-r--r-- 1.9 KB
Makefile -rw-r--r-- 427 bytes
as-iosched.c -rw-r--r-- 37.8 KB
blktrace.c -rw-r--r-- 12.8 KB
bsg.c -rw-r--r-- 22.1 KB
cfq-iosched.c -rw-r--r-- 54.0 KB
compat_ioctl.c -rw-r--r-- 21.9 KB
deadline-iosched.c -rw-r--r-- 11.5 KB
elevator.c -rw-r--r-- 25.1 KB
genhd.c -rw-r--r-- 19.0 KB
ioctl.c -rw-r--r-- 7.0 KB
ll_rw_blk.c -rw-r--r-- 107.4 KB
noop-iosched.c -rw-r--r-- 2.6 KB
scsi_ioctl.c -rw-r--r-- 16.9 KB

back to top