aboutsummaryrefslogtreecommitdiffhomepage
path: root/dbus/proc.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-07-02 21:23:55 +0900
committerOphestra <cat@gensokyo.uk>2025-07-02 21:23:55 +0900
commita1d98823f8d17b49b432508d071b62ccd426f1ce (patch)
treecacbe2d42f9ff3fd49b455e849770840e34d076a /dbus/proc.go
parent255b77d91dc40736b7bbd7d96b22500076b098e5 (diff)
hakurei: move container toplevel
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'dbus/proc.go')
-rw-r--r--dbus/proc.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/dbus/proc.go b/dbus/proc.go
index 283f31c5..bbb72f92 100644
--- a/dbus/proc.go
+++ b/dbus/proc.go
@@ -11,9 +11,9 @@ import (
"strconv"
"syscall"
+ "git.gensokyo.uk/security/hakurei"
"git.gensokyo.uk/security/hakurei/helper"
"git.gensokyo.uk/security/hakurei/ldd"
- "git.gensokyo.uk/security/hakurei/sandbox"
"git.gensokyo.uk/security/hakurei/sandbox/seccomp"
)
@@ -65,7 +65,7 @@ func (p *Proxy) Start() error {
p.helper = helper.New(
ctx, toolPath,
p.final, true,
- argF, func(container *sandbox.Container) {
+ argF, func(container *hakurei.Container) {
container.SeccompFlags |= seccomp.AllowMultiarch
container.SeccompPresets |= seccomp.PresetStrict
container.Hostname = "hakurei-dbus"
@@ -115,7 +115,7 @@ func (p *Proxy) Start() error {
slices.Sort(sockDirPaths)
sockDirPaths = slices.Compact(sockDirPaths)
for _, name := range sockDirPaths {
- container.Bind(name, name, sandbox.BindWritable)
+ container.Bind(name, name, hakurei.BindWritable)
}
// xdg-dbus-proxy bin path