commit | 176df2457ef6207156ca1a40991c54ca01fef567 | [log] [tgz] |
---|---|---|
author | Andi Kleen <ak@suse.de> | Fri Sep 21 16:16:18 2007 +0200 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Fri Sep 21 09:52:07 2007 -0700 |
tree | dddbc675ad695d1bae8f32a1c877b47c3a548a09 | |
parent | 335fb8fc71692830aca0a5a5fe7f60016ee0d0aa [diff] |
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>