This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]