summaryrefslogtreecommitdiffhomepage
path: root/runsc
diff options
context:
space:
mode:
authorLucas Manning <lucasmanning@google.com>2021-06-29 16:58:12 -0700
committergVisor bot <gvisor-bot@google.com>2021-06-29 17:01:11 -0700
commit90dbb4b0c7e594ba67fec26c2cdb1dfd7d7454de (patch)
treec4dc0b1ce735326dd6c34e41990073e63f98108b /runsc
parent54b71221c0b7a9159f369263ea6189bdba4eac3a (diff)
Add SIOCGIFFLAGS ioctl support to hostinet.
PiperOrigin-RevId: 382194711
Diffstat (limited to 'runsc')
-rw-r--r--runsc/boot/filter/config.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/runsc/boot/filter/config.go b/runsc/boot/filter/config.go
index 752fea0e1..33e738efc 100644
--- a/runsc/boot/filter/config.go
+++ b/runsc/boot/filter/config.go
@@ -459,6 +459,10 @@ func hostInetFilters() seccomp.SyscallRules {
seccomp.MatchAny{},
seccomp.EqualTo(unix.TIOCINQ),
},
+ {
+ seccomp.MatchAny{},
+ seccomp.EqualTo(unix.SIOCGIFFLAGS),
+ },
},
unix.SYS_LISTEN: {},
unix.SYS_READV: {},