diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-12-08 04:57:24 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-12-08 04:57:24 +0900 |
| commit | 5785714b64149c2377cd9697c77162b3e7b37e7d (patch) | |
| tree | 10ab1713fe8c1d227ce0ffe696fa64f2d337587e /container/initmkdir.go | |
| parent | 422efcf258eb49ecd0d4de8e53adae656696ea56 (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/initmkdir.go')
| -rw-r--r-- | container/initmkdir.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/container/initmkdir.go b/container/initmkdir.go index 218d6347..d3c4bbb7 100644 --- a/container/initmkdir.go +++ b/container/initmkdir.go @@ -27,6 +27,7 @@ func (m *MkdirOp) early(*setupState, syscallDispatcher) error { return nil } func (m *MkdirOp) apply(_ *setupState, k syscallDispatcher) error { return k.mkdirAll(toSysroot(m.Path.String()), m.Perm) } +func (m *MkdirOp) late(*setupState, syscallDispatcher) error { return nil } func (m *MkdirOp) Is(op Op) bool { vm, ok := op.(*MkdirOp) |
