[PATCH 1/2] Use PTRACE_SUNDETACH everywhere on SPARC and SPARC64
Dmitry V. Levin
ldv at altlinux.org
Tue Aug 30 09:17:36 UTC 2016
On Tue, Aug 30, 2016 at 12:50:33AM +0100, James Clarke wrote:
> SPARC has a different PTRACE_DETACH value correctly defined in sys/ptrace.h,
> but linux/ptrace.h clobbers it with the standard one. PTRACE_SUNDETACH is
> also defined to the correct value by sys/ptrace.h, so use that instead.
>
> * pthread.h [SPARC || SPARC64]: Define PTRACE_DETACH as PTRACE_SUNDETACH.
> * strace.c (detach) [SPARC]: Remove PTRACE_DETACH definition and use the
> one from pthread.h.
Applied, thanks.
--
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20160830/33e33f54/attachment.bin>
More information about the Strace-devel
mailing list