diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-10-21 20:54:03 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-10-21 20:54:03 +0900 |
| commit | e94acc424c5746eb6cf903ed97b4e71223fda50f (patch) | |
| tree | c55f4b467ed11149006a799421936845bf64de99 /internal/app/spruntime.go | |
| parent | b1a4d801be033b41c559e9642ee05e2f0ec43d5b (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/spruntime.go')
| -rw-r--r-- | internal/app/spruntime.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/app/spruntime.go b/internal/app/spruntime.go index d8c5af94..25c04b83 100644 --- a/internal/app/spruntime.go +++ b/internal/app/spruntime.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" @@ -111,7 +111,7 @@ func (s *spRuntimeOp) toContainer(state *outcomeStateParams) error { state.params.Tmpfs(fhs.AbsRunUser, 1<<12, 0755) if state.Container.Flags&hst.FShareRuntime != 0 { _, runtimeDirInst := s.commonPaths(state.outcomeState) - state.params.Bind(runtimeDirInst, state.runtimeDir, bits.BindWritable) + state.params.Bind(runtimeDirInst, state.runtimeDir, comp.BindWritable) } else { state.params.Mkdir(state.runtimeDir, 0700) } |
