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 --- system/dbus/proc.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'system/dbus') diff --git a/system/dbus/proc.go b/system/dbus/proc.go index b386eecb..d96dd0eb 100644 --- a/system/dbus/proc.go +++ b/system/dbus/proc.go @@ -9,8 +9,8 @@ import ( "syscall" "hakurei.app/container" - "hakurei.app/container/bits" "hakurei.app/container/check" + "hakurei.app/container/comp" "hakurei.app/container/seccomp" "hakurei.app/helper" "hakurei.app/ldd" @@ -65,7 +65,7 @@ func (p *Proxy) Start() error { p.final, true, argF, func(z *container.Container) { z.SeccompFlags |= seccomp.AllowMultiarch - z.SeccompPresets |= bits.PresetStrict + z.SeccompPresets |= comp.PresetStrict z.Hostname = "hakurei-dbus" if p.output != nil { z.Stdout, z.Stderr = p.output, p.output @@ -114,7 +114,7 @@ func (p *Proxy) Start() error { check.SortAbs(sockDirPaths) sockDirPaths = check.CompactAbs(sockDirPaths) for _, name := range sockDirPaths { - z.Bind(name, name, bits.BindWritable) + z.Bind(name, name, comp.BindWritable) } // xdg-dbus-proxy bin path -- cgit v1.3.1