mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-21 07:21:15 +00:00
vmm: seccomp: Add missing mremap() syscall
While testing self spawned vhost-user backends, it appeared that the backend was aborting due to a missing system call in the seccomp filters. mremap() was the culprit and this patch simply adds it to the whitelist. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
parent
886c0f9093
commit
b1554642e4
@ -224,6 +224,7 @@ pub fn vmm_thread_filter() -> Result<SeccompFilter, Error> {
|
|||||||
allow_syscall(libc::SYS_madvise),
|
allow_syscall(libc::SYS_madvise),
|
||||||
allow_syscall(libc::SYS_mmap),
|
allow_syscall(libc::SYS_mmap),
|
||||||
allow_syscall(libc::SYS_mprotect),
|
allow_syscall(libc::SYS_mprotect),
|
||||||
|
allow_syscall(libc::SYS_mremap),
|
||||||
allow_syscall(libc::SYS_munmap),
|
allow_syscall(libc::SYS_munmap),
|
||||||
allow_syscall(libc::SYS_nanosleep),
|
allow_syscall(libc::SYS_nanosleep),
|
||||||
allow_syscall(libc::SYS_open),
|
allow_syscall(libc::SYS_open),
|
||||||
|
Loading…
Reference in New Issue
Block a user