mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-18 10:35:23 +00:00
vmm: allow restart_syscall() in PTY process
This can be triggered by debugging cloud-hypervisor using gdb, or probably if the process is suspended and restarted. Fixes: https://github.com/cloud-hypervisor/cloud-hypervisor/issues/5489 Signed-off-by: Alyssa Ross <hi@alyssa.is>
This commit is contained in:
parent
a718716831
commit
0809e7f675
@ -486,6 +486,7 @@ fn pty_foreground_thread_rules() -> Result<Vec<(i64, Vec<SeccompRule>)>, Backend
|
||||
#[cfg(target_arch = "aarch64")]
|
||||
(libc::SYS_ppoll, vec![]),
|
||||
(libc::SYS_read, vec![]),
|
||||
(libc::SYS_restart_syscall, vec![]),
|
||||
(libc::SYS_rt_sigaction, vec![]),
|
||||
(libc::SYS_rt_sigreturn, vec![]),
|
||||
(libc::SYS_setsid, vec![]),
|
||||
|
Loading…
x
Reference in New Issue
Block a user