On Fri, 2005-09-16 at 20:36 -0400, Chuck Ebbert wrote:
> It looks to me like that patch corrupts ebp.
>
> This one works for me, though ebp still appears wrong to a 32-bit
> debugger on syscall exit trace. Maybe that doesn't matter so much.
Did you compile the program under a x86_64 kernel, distro? I ask because
it doesn't compile for me. On my machine asm-i386/user.h and
asm-x86_64/user.h both do not contain a user_regs_struct definition with
x86 registers.
Another thing I noticed was that with the patch %eax was zero for the
failing program although I didn't see how the patch affects %eax.
Parag
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
|
|