1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-30 06:25:37 +03:00

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 <CoelacanthusHex@gmail.com>
This commit is contained in:
Celeste Liu 2022-10-16 10:47:17 +08:00 committed by Luca Boccassi
parent 3e15bed410
commit 09925036cf

View File

@ -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"