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
keys
selinux
Kconfig -rw-r--r-- 3.5 KB
Makefile -rw-r--r-- 556 bytes
capability.c -rw-r--r-- 2.3 KB
commoncap.c -rw-r--r-- 14.9 KB
dummy.c -rw-r--r-- 26.0 KB
inode.c -rw-r--r-- 9.0 KB
root_plug.c -rw-r--r-- 3.0 KB
security.c -rw-r--r-- 26.7 KB

back to top