mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Drop accept from sentryctl socket filters
Now that we use x/sys/unix beyond https://golang.org/cl/313690 we always use accept4 in place of accept. PiperOrigin-RevId: 404265340
This commit is contained in:
committed by
gVisor bot
parent
03bc93d2b8
commit
83840125e0
@@ -651,11 +651,6 @@ func controlServerFilters(fd int) seccomp.SyscallRules {
|
||||
seccomp.EqualTo(fd),
|
||||
},
|
||||
},
|
||||
unix.SYS_ACCEPT: []seccomp.Rule{
|
||||
{
|
||||
seccomp.EqualTo(fd),
|
||||
},
|
||||
},
|
||||
unix.SYS_LISTEN: []seccomp.Rule{
|
||||
{
|
||||
seccomp.EqualTo(fd),
|
||||
|
||||
Reference in New Issue
Block a user