aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/app/spdbus.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-10-08 19:48:04 +0900
committerOphestra <cat@gensokyo.uk>2025-10-08 20:02:09 +0900
commite5baaf416f1404a4a9ae8581603524d868716325 (patch)
tree944ef5ffc3c1a094a6ba21ff075a26e16618cd76 /internal/app/spdbus.go
parentee6c471fe6e183d78e396a23b2a92fd26bb31143 (diff)
internal/app: check transmitted ops
This simulates params to shim and this is the last step before params to shim is merged. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/app/spdbus.go')
-rw-r--r--internal/app/spdbus.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/app/spdbus.go b/internal/app/spdbus.go
index 77c2dcdc..81e05957 100644
--- a/internal/app/spdbus.go
+++ b/internal/app/spdbus.go
@@ -1,12 +1,16 @@
package app
import (
+ "encoding/gob"
+
"hakurei.app/container/fhs"
"hakurei.app/hst"
"hakurei.app/system/acl"
"hakurei.app/system/dbus"
)
+func init() { gob.Register(new(spDBusOp)) }
+
// spDBusOp maintains an xdg-dbus-proxy instance for the container.
type spDBusOp struct {
// Whether to bind the system bus socket.