mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 21:55:20 +00:00
virtio-devices: vsock: Add 'brk' to the seccomp list
We observed CI instability for the past couple of days. This instability is confirmed to be a result of incomplete seccomp filters. Given the filter on 'virtio_vsock' is recently added and is missing 'brk', it is likely to be the root cause of the instability. Signed-off-by: Bo Chen <chen.bo@intel.com>
This commit is contained in:
parent
9682d74763
commit
b4f6db5f31
@ -382,6 +382,7 @@ fn create_vsock_ioctl_seccomp_rule() -> Result<Vec<SeccompRule>, Error> {
|
||||
fn virtio_vsock_thread_rules() -> Result<Vec<SyscallRuleSet>, Error> {
|
||||
Ok(vec![
|
||||
allow_syscall(libc::SYS_accept4),
|
||||
allow_syscall(libc::SYS_brk),
|
||||
allow_syscall(libc::SYS_close),
|
||||
allow_syscall(libc::SYS_dup),
|
||||
allow_syscall(libc::SYS_epoll_create1),
|
||||
|
Loading…
Reference in New Issue
Block a user