]> git.ipfire.org Git - thirdparty/qemu.git/commit
virtiofsd: Add `sigreturn` to the seccomp whitelist
authorMarc Hartmayer <mhartmay@linux.ibm.com>
Fri, 25 Nov 2022 14:39:46 +0000 (15:39 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 25 Nov 2022 18:56:05 +0000 (13:56 -0500)
commitc23a95636622a32352b55a2f164a1fdf4ed34f60
tree774a91d6be715305a50648136bd5ae25ffe57a04
parenta33c25399f9bc3dcf83064adeba2a82e61bf4608
virtiofsd: Add `sigreturn` to the seccomp whitelist

The virtiofsd currently crashes on s390x. This is because of a
`sigreturn` system call. See audit log below:

type=SECCOMP msg=audit(1669382477.611:459): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 pid=6649 comm="virtiofsd" exe="/usr/libexec/virtiofsd" sig=31 arch=80000016 syscall=119 compat=0 ip=0x3fff15f748a code=0x80000000AUID="unset" UID="root" GID="root" ARCH=s390x SYSCALL=sigreturn

Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Reviewed-by: German Maglione <gmaglione@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20221125143946.27717-1-mhartmay@linux.ibm.com>
tools/virtiofsd/passthrough_seccomp.c