This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] powerpc: Undefine Linux ptrace macros that conflict with __ptrace_request
- From: "Tulio Magno Quites Machado Filho" <tuliom at linux dot vnet dot ibm dot com>
- To: "Dmitry V. Levin" <ldv at altlinux dot org>
- Cc: libc-alpha at sourceware dot org
- Cc:
- Date: Mon, 26 Feb 2018 10:43:32 -0300
- Subject: Re: [PATCH] powerpc: Undefine Linux ptrace macros that conflict with __ptrace_request
- Authentication-results: sourceware.org; auth=none
- References: <20180213140133.2229-1-tuliom@linux.vnet.ibm.com> <20180213160942.GA2770@altlinux.org>
"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