internal/app: check transmitted ops
All checks were successful
Test / Create distribution (push) Successful in 34s
Test / Hakurei (push) Successful in 3m13s
Test / Hpkg (push) Successful in 4m5s
Test / Sandbox (race detector) (push) Successful in 4m28s
Test / Hakurei (race detector) (push) Successful in 5m23s
Test / Sandbox (push) Successful in 1m25s
Test / Flake checks (push) Successful in 1m33s

This simulates params to shim and this is the last step before params to shim is merged.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-10-08 19:48:04 +09:00
parent ee6c471fe6
commit e5baaf416f
11 changed files with 120 additions and 6 deletions

View File

@@ -1,6 +1,8 @@
package app
import (
"encoding/gob"
"hakurei.app/container/bits"
"hakurei.app/container/check"
"hakurei.app/container/fhs"
@@ -9,6 +11,8 @@ import (
"hakurei.app/system/acl"
)
func init() { gob.Register(spTmpdirOp{}) }
// spTmpdirOp sets up TMPDIR inside the container.
type spTmpdirOp struct{}