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:
Michael Pratt
2021-10-19 08:18:52 -07:00
committed by gVisor bot
parent 03bc93d2b8
commit 83840125e0
-5
View File
@@ -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),