diff options
| author | Roland McGrath <[email protected]> | 2008-04-20 20:10:12 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-04-21 22:53:41 +0000 |
| commit | e16b27816462de700f9508d86954410c41105dc2 (patch) | |
| tree | f3827a23a43dcaad06362d511ac20d576b9128d5 /net/unix/af_unix.c | |
| parent | skbuff: fix missing kernel-doc notation (diff) | |
| download | kernel-e16b27816462de700f9508d86954410c41105dc2.tar.gz kernel-e16b27816462de700f9508d86954410c41105dc2.zip | |
ptrace: compat_ptrace_request siginfo
This adds support for PTRACE_GETSIGINFO and PTRACE_SETSIGINFO in
compat_ptrace_request. It relies on existing arch definitions for
copy_siginfo_to_user32 and copy_siginfo_from_user32.
On powerpc, this fixes a longstanding regression of 32-bit ptrace
calls on 64-bit kernels vs native calls (64-bit calls or 32-bit
kernels). This can be seen in a 32-bit call using PTRACE_GETSIGINFO
to examine e.g. siginfo_t.si_addr from a signal that sets it.
(This was broken as of 2.6.24 and, I presume, many or all prior versions.)
Signed-off-by: Roland McGrath <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
