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/sptmpdir.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/app/sptmpdir.go') 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) } -- cgit v1.3.1