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 /hst/fsbind.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 'hst/fsbind.go')
| -rw-r--r-- | hst/fsbind.go | 10 |
1 files changed, 5 insertions, 5 deletions
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 { |
