Andi Kleen 176df2457e x86_64: Zero extend all registers after ptrace in 32bit entry path.
Strictly it's only needed for eax.

It actually does a little more than strictly needed -- the other registers
are already zero extended.

Also remove the now unnecessary and non functional compat task check
in ptrace.

This is CVE-2007-4573

Found by Wojciech Purczynski

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-09-21 09:52:07 -07:00
..
2007-05-11 05:38:25 -04:00
2007-07-26 11:35:18 -07:00
2005-04-16 15:20:36 -07:00
2006-07-31 13:28:43 -07:00
2007-05-21 09:18:19 -07:00
2007-07-29 17:09:29 -07:00
2007-07-26 11:35:18 -07:00
2005-04-16 15:20:36 -07:00
2006-07-31 13:28:43 -07:00