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 --- hst/fsbind.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'hst/fsbind.go') diff --git a/hst/fsbind.go b/hst/fsbind.go index bb1fc036..70e8bdc1 100644 --- a/hst/fsbind.go +++ b/hst/fsbind.go @@ -4,8 +4,8 @@ import ( "encoding/gob" "strings" - "hakurei.app/container/bits" "hakurei.app/container/check" + "hakurei.app/container/comp" "hakurei.app/container/fhs" ) @@ -97,16 +97,16 @@ func (b *FSBind) Apply(z *ApplyState) { } var flags int if b.Write { - flags |= bits.BindWritable + flags |= comp.BindWritable } if b.Device { - flags |= bits.BindDevice | bits.BindWritable + flags |= comp.BindDevice | comp.BindWritable } if b.Ensure { - flags |= bits.BindEnsure + flags |= comp.BindEnsure } if b.Optional { - flags |= bits.BindOptional + flags |= comp.BindOptional } switch { -- cgit v1.3.1