Received: from eggs.gnu.org ([2001:4830:134:3::10]:50812) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmIWX-0005d7-3Q for qemu-devel@nongnu.org; Wed, 14 Oct 2015 05:39:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZmIWR-0007X2-7C for qemu-devel@nongnu.org; Wed, 14 Oct 2015 05:39:05 -0400 Received: from mail-wi0-f172.google.com ([209.85.212.172]:33874) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmIWR-0007WR-0o for qemu-devel@nongnu.org; Wed, 14 Oct 2015 05:38:59 -0400 Received: by wicgb1 with SMTP id gb1so122133768wic.1 for ; Wed, 14 Oct 2015 02:38:58 -0700 (PDT) From: Eduardo Otubo Date: Wed, 14 Oct 2015 11:38:23 +0200 Message-Id: <1444815506-30087-2-git-send-email-eduardo.otubo@profitbricks.com> In-Reply-To: <1444815506-30087-1-git-send-email-eduardo.otubo@profitbricks.com> References: <1444815506-30087-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..581a5e1 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