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
lxdialog
.gitignore -rw-r--r-- 147 bytes
Makefile -rw-r--r-- 8.4 KB
POTFILES.in -rw-r--r-- 123 bytes
check.sh -rwxr-xr-x 214 bytes
conf.c -rw-r--r-- 11.7 KB
confdata.c -rw-r--r-- 17.1 KB
expr.c -rw-r--r-- 25.2 KB
expr.h -rw-r--r-- 4.9 KB
gconf.c -rw-r--r-- 40.4 KB
gconf.glade -rw-r--r-- 24.5 KB
images.c -rw-r--r-- 6.4 KB
kconfig_load.c -rw-r--r-- 644 bytes
kxgettext.c -rw-r--r-- 4.0 KB
lex.zconf.c_shipped -rw-r--r-- 55.3 KB
lkc.h -rw-r--r-- 3.6 KB
lkc_proto.h -rw-r--r-- 1.9 KB
mconf.c -rw-r--r-- 25.8 KB
menu.c -rw-r--r-- 10.6 KB
qconf.cc -rw-r--r-- 42.1 KB
qconf.h -rw-r--r-- 7.8 KB
symbol.c -rw-r--r-- 17.5 KB
util.c -rw-r--r-- 2.2 KB
zconf.gperf -rw-r--r-- 1.2 KB
zconf.hash.c_shipped -rw-r--r-- 9.8 KB
zconf.l -rw-r--r-- 6.1 KB
zconf.tab.c_shipped -rw-r--r-- 68.5 KB
zconf.y -rw-r--r-- 14.4 KB

back to top