From: Daniel Golle Date: Fri, 20 Nov 2020 23:56:13 +0000 (+0000) Subject: seccomp: silence 'unknown syscall' warnings X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=be6da628b18cd9567a09ab21d15102b7f5aa2490;p=project%2Fprocd.git seccomp: silence 'unknown syscall' warnings Output them as debugging messages instead. Signed-off-by: Daniel Golle --- 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; }