aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/inittmpfs.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-12-08 04:57:24 +0900
committerOphestra <cat@gensokyo.uk>2025-12-08 04:57:24 +0900
commit5785714b64149c2377cd9697c77162b3e7b37e7d (patch)
tree10ab1713fe8c1d227ce0ffe696fa64f2d337587e /container/inittmpfs.go
parent422efcf258eb49ecd0d4de8e53adae656696ea56 (diff)
container: call op method right before initial process
This is at a point considered to be already "within" the container. Daemons internal to the container can be started here. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'container/inittmpfs.go')
-rw-r--r--container/inittmpfs.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/container/inittmpfs.go b/container/inittmpfs.go
index 23e2a832..fb477236 100644
--- a/container/inittmpfs.go
+++ b/container/inittmpfs.go
@@ -48,6 +48,7 @@ func (t *MountTmpfsOp) apply(_ *setupState, k syscallDispatcher) error {
}
return k.mountTmpfs(t.FSName, toSysroot(t.Path.String()), t.Flags, t.Size, t.Perm)
}
+func (t *MountTmpfsOp) late(*setupState, syscallDispatcher) error { return nil }
func (t *MountTmpfsOp) Is(op Op) bool {
vt, ok := op.(*MountTmpfsOp)