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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Philipp Kohlbecher
Date: Monday, May 21, 2007 - 3:48 am

H. Peter Anvin wrote:

That's true. The xss and esp fields of the pt_regs struct always contain
either garbage (for interrupts occuring while in kernel mode) or
user-mode values (for interrupts occuring while in user mode).
So, filling these fields with kernel-mode values indeed doesn't make
much sense.

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
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 2.6.21.1] i386: save registers before intra-privile ..., Philipp Kohlbecher, (Thu May 17, 3:06 pm)
Re: [PATCH 2.6.21.1] i386: save registers before intra-pri ..., Philipp Kohlbecher, (Thu May 17, 4:27 pm)
Re: [PATCH 2.6.21.1] i386: save registers before intra-pri ..., Philipp Kohlbecher, (Fri May 18, 1:32 am)
Re: [PATCH 2.6.21.1] i386: save registers before intra-pri ..., Philipp Kohlbecher, (Mon May 21, 3:48 am)