aboutsummaryrefslogtreecommitdiffhomepage
path: root/system
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-10-21 20:54:03 +0900
committerOphestra <cat@gensokyo.uk>2025-10-21 20:54:03 +0900
commite94acc424c5746eb6cf903ed97b4e71223fda50f (patch)
treec55f4b467ed11149006a799421936845bf64de99 /system
parentb1a4d801be033b41c559e9642ee05e2f0ec43d5b (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 'system')
-rw-r--r--system/dbus/proc.go6
1 files changed, 3 insertions, 3 deletions
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