mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Make KVM ioctl(2) seccomp filter use non-negative FD as arg[0] on ARM.
We have a test that enforces this now, and it fails on ARM due to this. PiperOrigin-RevId: 609811953
This commit is contained in:
committed by
gVisor bot
parent
2759f79fce
commit
2fe5ad76cd
@@ -28,7 +28,7 @@ import (
|
||||
func (*KVM) archSyscallFilters() seccomp.SyscallRules {
|
||||
return seccomp.MakeSyscallRules(map[uintptr]seccomp.SyscallRule{
|
||||
unix.SYS_IOCTL: seccomp.PerArg{
|
||||
seccomp.AnyValue{},
|
||||
seccomp.NonNegativeFD{},
|
||||
seccomp.EqualTo(KVM_SET_VCPU_EVENTS),
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user