From 09925036cf2b5a5c4cf680422a38c427ca692cd6 Mon Sep 17 00:00:00 2001 From: Celeste Liu Date: Sun, 16 Oct 2022 10:47:17 +0800 Subject: [PATCH] seccomp: add riscv_flush_icache to allow list This system call is harmless because it only enforces ordering between stores and instruction cache fetch. fixed #24991 Related: https://github.com/felixonmars/archriscv-packages/issues/1840 Signed-off-by: Celeste Liu --- src/shared/seccomp-util.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/shared/seccomp-util.c b/src/shared/seccomp-util.c index 1247da535d..dfac4da7cc 100644 --- a/src/shared/seccomp-util.c +++ b/src/shared/seccomp-util.c @@ -356,6 +356,7 @@ const SyscallFilterSet syscall_filter_sets[_SYSCALL_FILTER_SET_MAX] = { "pause\0" "prlimit64\0" "restart_syscall\0" + "riscv_flush_icache\0" "rseq\0" "rt_sigreturn\0" "sched_getaffinity\0"