From be6da628b18cd9567a09ab21d15102b7f5aa2490 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Fri, 20 Nov 2020 23:56:13 +0000 Subject: [PATCH] seccomp: silence 'unknown syscall' warnings Output them as debugging messages instead. Signed-off-by: Daniel Golle --- jail/seccomp-oci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jail/seccomp-oci.c b/jail/seccomp-oci.c index 88f8053..c80c6be 100644 --- a/jail/seccomp-oci.c +++ b/jail/seccomp-oci.c @@ -227,7 +227,7 @@ struct sock_fprog *parseOCIlinuxseccomp(struct blob_attr *msg) blobmsg_for_each_attr(curn, tbn[OCI_LINUX_SECCOMP_SYSCALLS_NAMES], remn) { sc = find_syscall(blobmsg_get_string(curn)); if (sc == -1) { - ERROR("unknown syscall '%s'\n", blobmsg_get_string(curn)); + DEBUG("unknown syscall '%s'\n", blobmsg_get_string(curn)); /* TODO: support run.oci.seccomp_fail_unknown_syscall=1 annotation */ continue; } -- 2.30.2