diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-11-05 02:47:43 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-11-05 02:47:43 +0900 |
| commit | c1399f5030abde76728ba7982a7a22fd49e75359 (patch) | |
| tree | 06e2a2ce11dbd7536150fd57824e406f101d50d9 /system | |
| parent | 9ac63aac0cb025d1de195dbc57d0c89ebd1d7cc5 (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 'system')
| -rw-r--r-- | system/dbus/proc.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/system/dbus/proc.go b/system/dbus/proc.go index d96dd0eb..d5716bda 100644 --- a/system/dbus/proc.go +++ b/system/dbus/proc.go @@ -10,8 +10,8 @@ import ( "hakurei.app/container" "hakurei.app/container/check" - "hakurei.app/container/comp" "hakurei.app/container/seccomp" + "hakurei.app/container/std" "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 |= comp.PresetStrict + z.SeccompPresets |= std.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, comp.BindWritable) + z.Bind(name, name, std.BindWritable) } // xdg-dbus-proxy bin path |
