Re: [PATCH 2.6.21.1] i386: save registers before intra-privilege syscall

2007-05-21 Thread Philipp Kohlbecher
nse. Allocating space on the stack and poisoning those values would make sense, though, so I will modify the patch accordingly and resend it. Thank you for your feedback! - Philipp Kohlbecher - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: [PATCH 2.6.21.1] i386: save registers before intra-privilege syscall

2007-05-18 Thread Philipp Kohlbecher
H. Peter Anvin wrote: > Philipp Kohlbecher wrote: >> (This may be superfluous, but I don't think it hurts and it might >> prevent future errors.) > > ... and it may *cause* future errors by making it harder to find bugs, too. > > In other words, your patch d

Re: [PATCH 2.6.21.1] i386: save registers before intra-privilege syscall

2007-05-17 Thread Philipp Kohlbecher
H. Peter Anvin wrote: > Philipp Kohlbecher wrote: >> From: Philipp Kohlbecher <[EMAIL PROTECTED]> >> >> The kernel_execve function issues a software interrupt (int 0x80) to make >> a system call to sys_execve. This function expects to find the stack segment >

[PATCH 2.6.21.1] i386: save registers before intra-privilege syscall

2007-05-17 Thread Philipp Kohlbecher
From: Philipp Kohlbecher <[EMAIL PROTECTED]> The kernel_execve function issues a software interrupt (int 0x80) to make a system call to sys_execve. This function expects to find the stack segment and stack pointer of the function that issued the system call in the pt_regs struct. The s