virtiofsd: Add restart_syscall to the seccomp whitelist
commitcf269ff8032392bbdd700e7bfd21823ad9eee3a9
authorGreg Kurz <groug@kaod.org>
Mon, 1 Feb 2021 19:33:05 +0000 (1 20:33 +0100)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Thu, 4 Feb 2021 17:50:08 +0000 (4 17:50 +0000)
treedc26eda04870294a9814ae4414faf5e95a6564dc
parent62124e5080e6f49f294caad60fbee26cc2d39d8f
virtiofsd: Add restart_syscall to the seccomp whitelist

This is how linux restarts some system calls after SIGSTOP/SIGCONT.
This is needed to avoid virtiofsd termination when resuming execution
under GDB for example.

Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <20210201193305.136390-1-groug@kaod.org>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
tools/virtiofsd/passthrough_seccomp.c