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

Stefan Hajnoczi stefanha at redhat.com
Tue Jul 16 15:30:09 UTC 2019


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>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virtio-fs/attachments/20190716/cbded669/attachment.sig>


More information about the Virtio-fs mailing list