From 87b5c30ef6d5b7b8a10d6a5a8610054c403923e6 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 9 Oct 2025 05:04:08 +0900 Subject: message: relocate from container This package is quite useful. This change allows it to be imported without importing container. Signed-off-by: Ophestra --- internal/app/spcontainer.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'internal/app/spcontainer.go') diff --git a/internal/app/spcontainer.go b/internal/app/spcontainer.go index 3827fa2e..ee2833bf 100644 --- a/internal/app/spcontainer.go +++ b/internal/app/spcontainer.go @@ -15,6 +15,7 @@ import ( "hakurei.app/container/fhs" "hakurei.app/container/seccomp" "hakurei.app/hst" + "hakurei.app/message" "hakurei.app/system/dbus" ) @@ -299,7 +300,7 @@ func resolveRoot(c *hst.ContainerConfig) (rootfs hst.FilesystemConfig, filesyste } // evalSymlinks calls syscallDispatcher.evalSymlinks but discards errors unwrapping to [fs.ErrNotExist]. -func evalSymlinks(msg container.Msg, k syscallDispatcher, v *string) error { +func evalSymlinks(msg message.Msg, k syscallDispatcher, v *string) error { if p, err := k.evalSymlinks(*v); err != nil { if !errors.Is(err, fs.ErrNotExist) { return err -- cgit v1.3.1