Skip to content
Commit d786a4a6 authored by David S. Miller's avatar David S. Miller
Browse files

[SPARC]: Fix several regset and ptrace bugs.



1) ptrace should pass 'current' to task_user_regset_view()

2) When fetching general registers using a 64-bit view, and
   the target is 32-bit, we have to convert.

3) Skip the whole register window get/set code block if
   the user isn't asking to access anything in there.

   Otherwise we have problems if the user doesn't have
   an address space setup.  Fetching ptrace register is
   still valid at such a time, and ptrace does not try
   to access the register window area of the regset.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ad4f9576
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment