[PATCH v4 1/4] Add seccomp-filter syscall flag

Dmitry V. Levin ldv at altlinux.org
Sun Sep 1 19:49:01 UTC 2019


On Sat, Aug 31, 2019 at 08:14:56PM +0300, Dmitry V. Levin wrote:
> On Thu, Aug 29, 2019 at 03:58:55PM +0200, Paul Chaignon wrote:
> > This commit adds a new syscall flag for syscall that are traced by default
> > under seccomp-filter.
> 
> It's a seccomp filter, I think we should not use hyphen here ...
> 
> [...]
> > --- a/sysent.h
> > +++ b/sysent.h
> > @@ -36,5 +36,6 @@ typedef struct sysent {
> >  # define TRACE_FSTAT			00400000	/* Trace *fstat{,at}{,64} syscalls. */
> >  # define TRACE_STAT_LIKE		01000000	/* Trace *{,l,f}stat{,x,at}{,64} syscalls. */
> >  # define TRACE_PURE			02000000	/* Trace getter syscalls with no arguments. */
> > +# define TRACE_SECCOMP_DEFAULT		04000000	/* Syscall is traced by seccomp-filter by default. */
> 
> ... and here.

OK, I've merged this patch with these changes into master.


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20190901/2b44716f/attachment.bin>


More information about the Strace-devel mailing list