diff options
author | Roland McGrath <roland@redhat.com> | 2008-04-20 13:10:12 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-21 15:53:41 -0700 |
commit | e16b27816462de700f9508d86954410c41105dc2 (patch) | |
tree | f3827a23a43dcaad06362d511ac20d576b9128d5 /mm/shmem.c | |
parent | 553a56726be86c09cfa53c84da1ea0e2043e364e (diff) | |
download | linux-e16b27816462de700f9508d86954410c41105dc2.tar.bz2 |
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 <roland@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/shmem.c')
0 files changed, 0 insertions, 0 deletions