aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/dispatcher_test.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-01-11 03:32:21 +0900
committerOphestra <cat@gensokyo.uk>2026-01-11 03:36:20 +0900
commit2494ede1067d5071d3cc7d355cdc2ae3fac66dc5 (patch)
tree77cd8ef4785a83918f78389ce05011b0fc14bd97 /container/dispatcher_test.go
parentda3848b92f22259d97b1d3851e17d1a8c6ffeb3d (diff)
container/init: configure interface lo
This enables loopback networking when owning the net namespace. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'container/dispatcher_test.go')
-rw-r--r--container/dispatcher_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/container/dispatcher_test.go b/container/dispatcher_test.go
index 26c49323..5de37fc9 100644
--- a/container/dispatcher_test.go
+++ b/container/dispatcher_test.go
@@ -465,6 +465,8 @@ func (k *kstub) ensureFile(name string, perm, pperm os.FileMode) error {
stub.CheckArg(k.Stub, "pperm", pperm, 2))
}
+func (*kstub) mustLoopback(message.Msg) { /* noop */ }
+
func (k *kstub) seccompLoad(rules []std.NativeRule, flags seccomp.ExportFlag) error {
k.Helper()
return k.Expects("seccompLoad").Error(