aboutsummaryrefslogtreecommitdiffhomepage
path: root/hst/fsbind.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-11-05 02:47:43 +0900
committerOphestra <cat@gensokyo.uk>2025-11-05 02:47:43 +0900
commitc1399f5030abde76728ba7982a7a22fd49e75359 (patch)
tree06e2a2ce11dbd7536150fd57824e406f101d50d9 /hst/fsbind.go
parent9ac63aac0cb025d1de195dbc57d0c89ebd1d7cc5 (diff)
std: rename from comp
Seccomp lookup tables are going to be relocated here, and PNR constants. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'hst/fsbind.go')
-rw-r--r--hst/fsbind.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/hst/fsbind.go b/hst/fsbind.go
index 70e8bdc1..282f9a32 100644
--- a/hst/fsbind.go
+++ b/hst/fsbind.go
@@ -5,8 +5,8 @@ import (
"strings"
"hakurei.app/container/check"
- "hakurei.app/container/comp"
"hakurei.app/container/fhs"
+ "hakurei.app/container/std"
)
func init() { gob.Register(new(FSBind)) }
@@ -97,16 +97,16 @@ func (b *FSBind) Apply(z *ApplyState) {
}
var flags int
if b.Write {
- flags |= comp.BindWritable
+ flags |= std.BindWritable
}
if b.Device {
- flags |= comp.BindDevice | comp.BindWritable
+ flags |= std.BindDevice | std.BindWritable
}
if b.Ensure {
- flags |= comp.BindEnsure
+ flags |= std.BindEnsure
}
if b.Optional {
- flags |= comp.BindOptional
+ flags |= std.BindOptional
}
switch {