[PATCH v4 1/4] Add seccomp-filter syscall flag
Paul Chaignon
paul.chaignon at gmail.com
Mon Sep 2 09:18:29 UTC 2019
On Sun, Sep 01, 2019 at 10:49:01PM +0300, Dmitry V. Levin wrote:
> 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.
Thanks. I've rebased my branch accordingly.
I'm in the process of addressing your comments on the v4. I'll send a v5
once that's done.
Paul
More information about the Strace-devel
mailing list