Re: Syscall changes registers beyond %eax, on linux-i386

From: Richard Henderson (rth@twiddle.net)
Date: Thu Sep 19 2002 - 14:41:17 EST


On Thu, Sep 19, 2002 at 03:40:52PM -0400, Richard B. Johnson wrote:
> Well it's not modifying those values.

It's not modifying "a", true, but it _is_ modifying the parameter
area. Which is exactly the kernel bug in question.

> It's really bad code because it could have done:
>
> incl $0x04(%esp)
> incl $0x08(%esp)
> incl $0x1c(%esp)
> jmp bar

Yes, I know.

r~
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Sep 23 2002 - 22:00:27 EST