Hi,
 
The bug x86_64-gsbase (http://sourceware.org/systemtap/wiki/utrace/tests) is to read gs_base register through
PTRACE_PEEKUSR. It fails in 2.6.24 upstream kernel and utrace patched kernel.

Seem that
   ptrace -> arch_ptrace -> getreg
Or
   ptrace -> arch_ptrace -> ptrace_peekusr -> ptrace_layout_access -> getreg

return incorrect value.

But I applied the patch in the thread (http://lkml.org/lkml/2007/11/21/82) which had been merged into mainline
since 2.6.24-git9 and found the problem gone away. The re-write utrace based on that code should also get rid
of the bug.
Thanks,
Wenji



Reply via email to