From: "Dr. David Alan Gilbert" <dgilb...@redhat.com> 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: amulm...@in.ibm.com Signed-off-by: Dr. David Alan Gilbert <dgilb...@redhat.com> Message-Id: <20201102150750.34565-1-dgilb...@redhat.com> Reviewed-by: Daniel P. Berrangé <berra...@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilb...@redhat.com> --- tools/virtiofsd/passthrough_seccomp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/virtiofsd/passthrough_seccomp.c b/tools/virtiofsd/passthrough_seccomp.c index eb9af8265f..672fb72a31 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), }; -- 2.28.0