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: Add PTRACE_GET_SYSCALL_INFO from Linux 5.3 to sys/ptrace.h


On Tue, 15 Oct 2019, Dmitry V. Levin wrote:

> On Mon, Oct 14, 2019 at 09:49:22PM +0000, Joseph Myers wrote:
> > Linux 5.3 adds a PTRACE_GET_SYSCALL_INFO constant, with an associated
> > structure and PTRACE_SYSCALL_INFO_* constants.
> > 
> > This patch adds these to sys/ptrace.h in glibc
> > (PTRACE_GET_SYSCALL_INFO in each architecture version, the rest in
> > bits/ptrace-shared.h).  As with previous such constants and associated
> > structures, the glibc version of the structure is named struct
> > __ptrace_syscall_info.
> > 
> > Tested for x86_64, and with build-many-glibcs.py.
> 
> This is obviously correct, with one exception: on those architectures
> where we do #undef PTRACE_GET_SYSCALL_INFO, we have to #undef
> PTRACE_SYSCALL_INFO_* as well.

Thanks.  I added those #undefs, retested with build-many-glibcs.py for 
those architectures and committed.

-- 
Joseph S. Myers
joseph@codesourcery.com


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