diff options
author | David S. Miller <davem@davemloft.net> | 2008-04-10 04:39:25 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-10 04:39:25 +0200 |
commit | d786a4a6599740eaa4b8d1e1d466853f02db11d4 (patch) | |
tree | 98157e4dc5c6b246ac56d95a6a16baccd86b6df7 /arch/sh/kernel/cpu/sh2a/fpu.c | |
parent | [SPARC64]: Fix user accesses in regset code. (diff) | |
download | linux-d786a4a6599740eaa4b8d1e1d466853f02db11d4.tar.xz linux-d786a4a6599740eaa4b8d1e1d466853f02db11d4.zip |
[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: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sh/kernel/cpu/sh2a/fpu.c')
0 files changed, 0 insertions, 0 deletions