]> git.karo-electronics.de Git - linux-beck.git/commit
[POWERPC] Add CHECK_FULL_REGS in several places in ptrace code
authorRoland McGrath <roland@redhat.com>
Mon, 24 Sep 2007 23:50:52 +0000 (09:50 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 3 Oct 2007 01:48:43 +0000 (11:48 +1000)
commitfabca2c0a461bd82a35194e3a4bb1e98f3ffa789
tree298cc7b2c3cbfa82388b0b04c89882d6911d4a01
parentfec6047047fda307e47b9e87697144a89528c752
[POWERPC] Add CHECK_FULL_REGS in several places in ptrace code

This restores the CHECK_FULL_REGS sanity check to every place that can
access the nonvolatile GPRs for ptrace.  This is already done for
native-bitwidth PTRACE_PEEKUSR, but was omitted for many other cases
(32-bit ptrace, PTRACE_GETREGS, etc.); I think there may have been more
uniform checks before that were lost in the recent cleanup of GETREGS et al.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/ptrace.c
arch/powerpc/kernel/ptrace32.c