Received: from eggs.gnu.org ([2001:4830:134:3::10]:35827) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmdQa-00018A-4s for qemu-devel@nongnu.org; Thu, 15 Oct 2015 03:58:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZmdQU-0004xP-9q for qemu-devel@nongnu.org; Thu, 15 Oct 2015 03:58:20 -0400 Received: from mail-wi0-f178.google.com ([209.85.212.178]:33193) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmdQU-0004xL-3e for qemu-devel@nongnu.org; Thu, 15 Oct 2015 03:58:14 -0400 Received: by wijp11 with SMTP id p11so16379494wij.0 for ; Thu, 15 Oct 2015 00:58:13 -0700 (PDT) From: Eduardo Otubo Date: Thu, 15 Oct 2015 09:57:57 +0200 Message-Id: <1444895880-27681-2-git-send-email-eduardo.otubo@profitbricks.com> In-Reply-To: <1444895880-27681-1-git-send-email-eduardo.otubo@profitbricks.com> References: <1444895880-27681-1-git-send-email-eduardo.otubo@profitbricks.com> Subject: [Qemu-devel] [PULL 01/04] libseccomp: add cacheflush to whitelist List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: namnamc@safe-mail.net, peter.maydell@linaro.org, drjones@redhat.com From: Andrew Jones cacheflush is an arm-specific syscall that qemu built for arm uses. Add it to the whitelist. Signed-off-by: Andrew Jones Acked-by: Eduardo Otubo --- qemu-seccomp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qemu-seccomp.c b/qemu-seccomp.c index f9de0d3..33644a4 100644 --- a/qemu-seccomp.c +++ b/qemu-seccomp.c @@ -237,7 +237,8 @@ static const struct QemuSeccompSyscall seccomp_whitelist[] = { { SCMP_SYS(fadvise64), 240 }, { SCMP_SYS(inotify_init1), 240 }, { SCMP_SYS(inotify_add_watch), 240 }, - { SCMP_SYS(mbind), 240 } + { SCMP_SYS(mbind), 240 }, + { SCMP_SYS(cacheflush), 240 }, }; int seccomp_start(void) -- 2.1.4