diff options
author | Michael Pratt <mpratt@google.com> | 2021-10-19 08:15:48 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-10-19 08:18:52 -0700 |
commit | 83840125e0bd050129fc3c8983a5bcef7afefe4e (patch) | |
tree | 6e468e35ed7f25b3262d5b61d394035857a42274 /runsc | |
parent | 03bc93d2b82045fc44102d0f40a208f97db16479 (diff) |
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
Diffstat (limited to 'runsc')
-rw-r--r-- | runsc/boot/filter/config.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/runsc/boot/filter/config.go b/runsc/boot/filter/config.go index db363435b..4a9d30c5f 100644 --- a/runsc/boot/filter/config.go +++ b/runsc/boot/filter/config.go @@ -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), |