]> git.baikalelectronics.ru Git - kernel.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)
commit5934a80689595dca3d107b3e7f171637bb446fff
tree9f4c180bf7dfc358727fffdcc1cbe9f805b526bd
parented44ab125f6429ad32b85bd805e062156631e182
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