]> git.baikalelectronics.ru Git - kernel.git/commit
x86: kprobes: fix swapped segment registers in kretprobe
authorRoland McGrath <roland@redhat.com>
Sat, 17 Jul 2010 01:17:12 +0000 (18:17 -0700)
committerRoland McGrath <roland@redhat.com>
Sun, 18 Jul 2010 22:05:34 +0000 (15:05 -0700)
commit890f284bcd07790d26e151e2db2f9bca12bca36c
tree6d66cad929d5a2e2aaeb9d33d94b46c9d1093b26
parent5a9906e3d0be67e0c374cf0007829dc67e7e03cd
x86: kprobes: fix swapped segment registers in kretprobe

In commit 9d25828f, the order of the %es and %ds segment registers
got accidentally swapped, so synthesized 'struct pt_regs' frames
have the two values inverted.  It's almost sure that these values
never matter, and that they also never differ.  But wrong is wrong.

Signed-off-by: Roland McGrath <roland@redhat.com>
arch/x86/kernel/kprobes.c