[Virtio-fs] [PATCH v2] virtiofsd: remove SCMP_FLTATTR_CTL_TSYNC flag

Dr. David Alan Gilbert dgilbert at redhat.com
Thu Jul 18 09:52:40 UTC 2019


* Stefan Hajnoczi (stefanha at redhat.com) wrote:
> On Mon, Jul 15, 2019 at 11:09:51AM +0800, Eric Ren wrote:
> > SCMP_FLTATTR_CTL_TSYNC flag is only available on
> > Linux Kernel 3.17 or greater. Older host kernel
> > fails virtiofsd, limiting virtiofsd use.
> > 
> > And, confirmed from Stefan Hajnoczi:
> > """
> > There are no threads when setup_seccomp() is invoked so the TSYNC
> > attribute is not required.
> > 
> > Please remove the TSYNC call.  Then we don't need to worry about version
> > or feature checks.
> > """
> > 
> > Signed-off-by: Eric Ren <renzhen at linux.alibaba.com>
> > ---
> >  contrib/virtiofsd/seccomp.c | 4 ----
> >  1 file changed, 4 deletions(-)
> 
> Reviewed-by: Stefan Hajnoczi <stefanha at redhat.com>

Thanks, merged.

--
Dr. David Alan Gilbert / dgilbert at redhat.com / Manchester, UK




More information about the Virtio-fs mailing list