From e94acc424c5746eb6cf903ed97b4e71223fda50f Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 21 Oct 2025 20:54:03 +0900 Subject: container/comp: rename from bits This package will also hold syscall lookup tables for seccomp. Signed-off-by: Ophestra --- internal/app/spruntime.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/app/spruntime.go') 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) } -- cgit v1.3.1