projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b0bcea
)
seccomp: add riscv_hwprobe to @default
author
Xeonacid
<h.dwwwwww@gmail.com>
Sat, 8 Jul 2023 12:56:47 +0000
(20:56 +0800)
committer
Mike Yuan
<me@yhndnzj.com>
Sat, 8 Jul 2023 18:26:51 +0000
(
02:26
+0800)
This syscall is for probing hardware capabilities from userspace and should do no harm.
Added in https://github.com/torvalds/linux/commit/
ea3de9ce8aa280c5175c835bd3e94a3a9b814b74
src/shared/seccomp-util.c
patch
|
blob
|
history
diff --git
a/src/shared/seccomp-util.c
b/src/shared/seccomp-util.c
index 4eae96e69a64406801ef0d4a0675a5210b858768..ed3119d14e6976b784c98ef059b949b49026b088 100644
(file)
--- 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"