[PATCH] powerpc: Undefine Linux ptrace macros that conflict with __ptrace_request

Tulio Magno Quites Machado Filho tuliom@linux.vnet.ibm.com
Mon Feb 26 14:18:00 GMT 2018


"Dmitry V. Levin" <ldv@altlinux.org> writes:

> The list looks fine, except the following:
> - PTRACE_PEEKUSER and PTRACE_POKEUSER are not defined by kernel headers
>   (they define PTRACE_PEEKUSR and PTRACE_POKEUSR instead) so there is no
>   need to #undef them here;
> - looks like PTRACE_SINGLEBLOCK should be #undef'ed here and defined
>   in "sync sys/ptrace.h with Linux 4.15" patch to
>
>   /* Execute process until next taken branch.  */
>   PTRACE_SINGLEBLOCK = 256,
> #define PT_STEPBLOCK PTRACE_SINGLEBLOCK

Fixed both issues, sorted the lines alphabetically and pushed as 398c6fddafc.

Thanks!

-- 
Tulio Magno



More information about the Libc-alpha mailing list