diff options
author | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2020-11-02 15:07:50 +0000 |
---|---|---|
committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2020-11-02 18:29:54 +0000 |
commit | dcaac9f124833e62e720d0733aa53453f438b7d7 (patch) | |
tree | d87a091bc1478016689e98a3cf881d1f678a761c /tools/virtiofsd | |
parent | 5e773431134a6c3f65c0088d578384577c4a3f2c (diff) | |
download | qemu-dcaac9f124833e62e720d0733aa53453f438b7d7.zip qemu-dcaac9f124833e62e720d0733aa53453f438b7d7.tar.gz qemu-dcaac9f124833e62e720d0733aa53453f438b7d7.tar.bz2 |
virtiofsd: Seccomp: Add 'send' for syslog
On ppc, and some other archs, it looks like syslog ends up using 'send'
rather than 'sendto'.
Reference: https://github.com/kata-containers/kata-containers/issues/1050
Reported-by: amulmek1@in.ibm.com
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20201102150750.34565-1-dgilbert@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'tools/virtiofsd')
-rw-r--r-- | tools/virtiofsd/passthrough_seccomp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/virtiofsd/passthrough_seccomp.c b/tools/virtiofsd/passthrough_seccomp.c index eb9af82..672fb72 100644 --- a/tools/virtiofsd/passthrough_seccomp.c +++ b/tools/virtiofsd/passthrough_seccomp.c @@ -118,6 +118,7 @@ static const int syscall_whitelist[] = { /* Syscalls used when --syslog is enabled */ static const int syscall_whitelist_syslog[] = { + SCMP_SYS(send), SCMP_SYS(sendto), }; |