aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorMichael Neuling <[email protected]>2009-04-05 20:59:39 +0000
committerPaul Mackerras <[email protected]>2009-04-07 15:19:00 +1000
commitbc826666e4252f78d2b144af3b7d699ff5efce0a (patch)
tree0055ba76c78f91d7039f8918f80c2979850f6415 /net/unix/af_unix.c
parentc7d07fdd5af084bbd0a7921f9b07037b9bc8829d (diff)
powerpc: Fix ptrace compat wrapper for FPU register access
The ptrace compat wrapper mishandles access to the fpu registers. The PTRACE_PEEKUSR and PTRACE_POKEUSR requests miscalculate the index into the fpr array due to the broken FPINDEX macro. The PPC_PTRACE_PEEKUSR_3264 request needs to use the same formula that the native ptrace interface uses when operating on the register number (as opposed to the 4-byte offset). The PPC_PTRACE_POKEUSR_3264 request didn't take TS_FPRWIDTH into account. Signed-off-by: Andreas Schwab <[email protected]> Signed-off-by: Michael Neuling <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions