From 5785714b64149c2377cd9697c77162b3e7b37e7d Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 8 Dec 2025 04:57:24 +0900 Subject: 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 --- container/initoverlay.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'container/initoverlay.go') diff --git a/container/initoverlay.go b/container/initoverlay.go index 5692af4e..0c31f8fd 100644 --- a/container/initoverlay.go +++ b/container/initoverlay.go @@ -205,6 +205,8 @@ func (o *MountOverlayOp) apply(state *setupState, k syscallDispatcher) error { return k.mount(SourceOverlay, target, FstypeOverlay, 0, strings.Join(options, check.SpecialOverlayOption)) } +func (o *MountOverlayOp) late(*setupState, syscallDispatcher) error { return nil } + func (o *MountOverlayOp) Is(op Op) bool { vo, ok := op.(*MountOverlayOp) return ok && o.Valid() && vo.Valid() && -- cgit v1.3.1