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_SECCOMP_GET_METADATA from Linux 4.16 to sys/ptrace.h


On Mon, Apr 23, 2018 at 05:07:25PM +0000, Joseph Myers wrote:
> On Mon, 23 Apr 2018, Dmitry V. Levin wrote:
> 
> > On Mon, Apr 23, 2018 at 03:56:48PM +0000, Joseph Myers wrote:
> > > This patch adds the PTRACE_SECCOMP_GET_METADATA constant from Linux
> > > 4.16 to all relevant sys/ptrace.h files.
> > 
> > Thanks, I haven't managed to submit this update myself.
> > 
> > This has to be committed along with the following two changes:
> > - adding #undef PTRACE_SECCOMP_GET_METADATA to all files that already
> >   undefine PTRACE_SECCOMP_GET_FILTER, for exactly the same reason;
> 
> I believe this patch does that.

It is not mentioned in the ChangeLog entry, so I must have missed it
in the patch itself.

> > - adding to bits/ptrace-shared.h a definition equivalent
> >   to struct seccomp_metadata.
> 
> This may be useful, but I don't see it as necessary to add the constant.

The constant is useless without the corresponding structure.


-- 
ldv

Attachment: signature.asc
Description: PGP signature


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