Re: error in arch/i386/kernel/ptrace.c (subtle)

From: Linus Torvalds (torvalds@transmeta.com)
Date: Sat Sep 02 2000 - 14:01:16 EST


In article <20000902155021.51C9E4917@pornstar.not.very.secure.org>,
Silvio Cesare <silvio@big.net.au> wrote:
>
>My fix would be to change orig_eax to -1 if the eip register is modified.
>Thus the signal handling code wouldnt think it needed to restart any syscalls.
>This is untested code btw.

Looks like a good fix to me..

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



This archive was generated by hypermail 2b29 : Thu Sep 07 2000 - 21:00:13 EST