This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Add PTRACE_GET_SYSCALL_INFO from Linux 5.3 to sys/ptrace.h
- From: Joseph Myers <joseph at codesourcery dot com>
- To: "Dmitry V. Levin" <ldv at altlinux dot org>
- Cc: <libc-alpha at sourceware dot org>
- Date: Mon, 14 Oct 2019 23:45:05 +0000
- Subject: Re: Add PTRACE_GET_SYSCALL_INFO from Linux 5.3 to sys/ptrace.h
- Ironport-sdr: ntM9lTpREs3qStW3+qwgxnU/m8BH/itILPve2cu96Xdl8LaLkq61no9IeuotZuJ8fUmoZaxteq 7sBgAqbF5V0kzGzRtqYq7bZohtLKHWyJbewlk1umVhJi0jewlR61gnI9jbC74yIQPuIiK44/9w fdbQEefKC6CbpYpyaz860S9CrRBhKwF8eLv+byVWfFzgaOdIFEnbnutAi2rZL3UyUYR3byQ75h VaqggItwyf8JJTJl8ZnvLdVqR58mAcvQXgHib/cqz3dtBsbwMUo1TIDdm+4KgIbfEJcnQs2mRt /6M=
- Ironport-sdr: 3avg9tpPmBqWJqv6PhJWMxGkRLZ5AOKaQ0++Dm/j+MT+V8enGBRsxHAP2gkVPiQ7wYiHFMYCKA w6drfujN2FS9hDzmudYFYYJWvdGXJWnqfmg3rbm+wC/deWbgMXaRpEdYk4FnaI7MX9SsruCDuz L9oPwcW5HnmW6gRQ+FZbbsuo4A+ZbKlFMHtq97hXzxBbntbGlcwaREe5fEHX0w00QSyrSyl3ew AtBmC+Itzk0cqWFEOABKXgojlaVT3+jMxTVTagYak3Seed2lKuVQTkHPka88JtbrGglGmNECAH 4ZY=
- References: <alpine.DEB.2.21.1910142148190.31880@digraph.polyomino.org.uk> <20191014224421.GB5778@altlinux.org>
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