diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-10-08 19:48:04 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-10-08 20:02:09 +0900 |
| commit | e5baaf416f1404a4a9ae8581603524d868716325 (patch) | |
| tree | 944ef5ffc3c1a094a6ba21ff075a26e16618cd76 /internal/app/sptmpdir.go | |
| parent | ee6c471fe6e183d78e396a23b2a92fd26bb31143 (diff) | |
internal/app: check transmitted ops
This simulates params to shim and this is the last step before params to shim is merged.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/app/sptmpdir.go')
| -rw-r--r-- | internal/app/sptmpdir.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/app/sptmpdir.go b/internal/app/sptmpdir.go index 4cc0c7da..8f8dd85e 100644 --- a/internal/app/sptmpdir.go +++ b/internal/app/sptmpdir.go @@ -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{} |
