All of lore.kernel.org
 help / color / mirror / Atom feed
* [Virtio-fs] [PATCH] virtiofsd: Seccomp: Add 'send' for syslog
@ 2020-11-02 15:07 ` Dr. David Alan Gilbert (git)
  0 siblings, 0 replies; 14+ messages in thread
From: Dr. David Alan Gilbert (git) @ 2020-11-02 15:07 UTC (permalink / raw)
  To: qemu-devel, virtio-fs, amulmek1, stefanha

From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>

On ppc 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>
---
 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


^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2020-11-02 18:33 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-02 15:07 [Virtio-fs] [PATCH] virtiofsd: Seccomp: Add 'send' for syslog Dr. David Alan Gilbert (git)
2020-11-02 15:07 ` Dr. David Alan Gilbert (git)
2020-11-02 15:11 ` [Virtio-fs] " Philippe Mathieu-Daudé
2020-11-02 15:11   ` Philippe Mathieu-Daudé
2020-11-02 15:13   ` [Virtio-fs] " Dr. David Alan Gilbert
2020-11-02 15:13     ` Dr. David Alan Gilbert
2020-11-02 15:18   ` [Virtio-fs] " Daniel P. Berrangé
2020-11-02 15:18     ` Daniel P. Berrangé
2020-11-02 16:43     ` [Virtio-fs] " Stefan Hajnoczi
2020-11-02 16:43       ` Stefan Hajnoczi
2020-11-02 15:17 ` [Virtio-fs] " Daniel P. Berrangé
2020-11-02 15:17   ` Daniel P. Berrangé
2020-11-02 18:30   ` [Virtio-fs] " Dr. David Alan Gilbert
2020-11-02 18:30     ` Dr. David Alan Gilbert

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.