]> err.no Git - linux-2.6/commit
[SPARC64]: Fix user accesses in regset code.
authorDavid S. Miller <davem@davemloft.net>
Thu, 3 Apr 2008 23:55:14 +0000 (16:55 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Apr 2008 23:55:14 +0000 (16:55 -0700)
commitad4f95764040077f16ebf24559d5a06f8fb133bc
tree48d1414e70785a9d910c8bcc62c324e8852c48ad
parent7c3cce978e4f933ac13758ec5d2554fc8d0927d2
[SPARC64]: Fix user accesses in regset code.

If target is not current we need to use access_process_vm().

Noticed by Roland McGrath.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/ptrace.c