]> bbs.cooldavid.org Git - net-next-2.6.git/commit
x86: ptrace: do not sign-extend orig_ax on write
authorRoland McGrath <roland@redhat.com>
Wed, 23 Sep 2009 02:58:58 +0000 (19:58 -0700)
committerRoland McGrath <roland@redhat.com>
Wed, 23 Sep 2009 05:46:48 +0000 (22:46 -0700)
commit08ff18e299b1a1c91f4911fe9f35c4550218c73f
tree9f4c180bf7dfc358727fffdcc1cbe9f805b526bd
parent18c1e2c80d92adca50ffc654617639a4aa35f29c
x86: ptrace: do not sign-extend orig_ax on write

The high 32 bits of orig_ax will be ignored when it matters,
so don't fiddle them when setting it.

Signed-off-by: Roland McGrath <roland@redhat.com>
arch/x86/kernel/ptrace.c