aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/app/sptmpdir.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-10-21 20:54:03 +0900
committerOphestra <cat@gensokyo.uk>2025-10-21 20:54:03 +0900
commite94acc424c5746eb6cf903ed97b4e71223fda50f (patch)
treec55f4b467ed11149006a799421936845bf64de99 /internal/app/sptmpdir.go
parentb1a4d801be033b41c559e9642ee05e2f0ec43d5b (diff)
container/comp: rename from bits
This package will also hold syscall lookup tables for seccomp. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/app/sptmpdir.go')
-rw-r--r--internal/app/sptmpdir.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/app/sptmpdir.go b/internal/app/sptmpdir.go
index b926f46e..5b7b54b9 100644
--- a/internal/app/sptmpdir.go
+++ b/internal/app/sptmpdir.go
@@ -3,8 +3,8 @@ package app
import (
"encoding/gob"
- "hakurei.app/container/bits"
"hakurei.app/container/check"
+ "hakurei.app/container/comp"
"hakurei.app/container/fhs"
"hakurei.app/hst"
"hakurei.app/system"
@@ -30,7 +30,7 @@ func (s spTmpdirOp) toSystem(state *outcomeStateSys) error {
func (s spTmpdirOp) toContainer(state *outcomeStateParams) error {
if state.Container.Flags&hst.FShareTmpdir != 0 {
_, tmpdirInst := s.commonPaths(state.outcomeState)
- state.params.Bind(tmpdirInst, fhs.AbsTmp, bits.BindWritable)
+ state.params.Bind(tmpdirInst, fhs.AbsTmp, comp.BindWritable)
} else {
state.params.Tmpfs(fhs.AbsTmp, 0, 01777)
}