From: Xeonacid Date: Sat, 8 Jul 2023 12:56:47 +0000 (+0800) Subject: seccomp: add riscv_hwprobe to @default X-Git-Tag: v254-rc2~63 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ca15fc4820ad1ef2d54c695699de949974dc5bbc;p=thirdparty%2Fsystemd.git seccomp: add riscv_hwprobe to @default This syscall is for probing hardware capabilities from userspace and should do no harm. Added in https://github.com/torvalds/linux/commit/ea3de9ce8aa280c5175c835bd3e94a3a9b814b74 --- diff --git a/src/shared/seccomp-util.c b/src/shared/seccomp-util.c index 4eae96e69a6..ed3119d14e6 100644 --- a/src/shared/seccomp-util.c +++ b/src/shared/seccomp-util.c @@ -358,6 +358,7 @@ const SyscallFilterSet syscall_filter_sets[_SYSCALL_FILTER_SET_MAX] = { "prlimit64\0" "restart_syscall\0" "riscv_flush_icache\0" + "riscv_hwprobe\0" "rseq\0" "rt_sigreturn\0" "sched_getaffinity\0"