mirror of
https://github.com/hanzoai/visor.git
synced 2026-09-24 17:04:14 +00:00
Allow rt_sigreturn in runsc gofer
rt_sigreturn is required for signal handling (e.g., SIGSEGV for nil-pointer dereference). Before this, nil-pointer dereferences cause a syscall violation instead of a panic. PiperOrigin-RevId: 274028767
This commit is contained in:
committed by
gVisor bot
parent
be890ecff5
commit
fa8e1c91a7
@@ -177,6 +177,7 @@ var allowedSyscalls = seccomp.SyscallRules{
|
||||
syscall.SYS_RENAMEAT: {},
|
||||
syscall.SYS_RESTART_SYSCALL: {},
|
||||
syscall.SYS_RT_SIGPROCMASK: {},
|
||||
syscall.SYS_RT_SIGRETURN: {},
|
||||
syscall.SYS_SCHED_YIELD: {},
|
||||
syscall.SYS_SENDMSG: []seccomp.Rule{
|
||||
// Used by fdchannel.Endpoint.SendFD().
|
||||
|
||||
Reference in New Issue
Block a user