mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
seccomp: allow sendto for vfio_user devices
as of rust 1.90, writes to unix sockets use the sendto syscall. This affects the vcpu threads when vfio_user devices are accessed. Signed-off-by: Stefan Nürnberger <stefan.nuernberger@cyberus-technology.de>
This commit is contained in:
committed by
Bo Chen
parent
f02745a7ed
commit
95b8c6afdd
@@ -810,6 +810,7 @@ fn vcpu_thread_rules(
|
||||
(libc::SYS_rt_sigreturn, vec![]),
|
||||
(libc::SYS_sched_yield, vec![]),
|
||||
(libc::SYS_sendmsg, vec![]),
|
||||
(libc::SYS_sendto, vec![]),
|
||||
(libc::SYS_shutdown, vec![]),
|
||||
(libc::SYS_sigaltstack, vec![]),
|
||||
(libc::SYS_tgkill, vec![]),
|
||||
|
||||
Reference in New Issue
Block a user