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 --- system/system.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'system/system.go') diff --git a/system/system.go b/system/system.go index 5599218e..cadaab04 100644 --- a/system/system.go +++ b/system/system.go @@ -6,8 +6,8 @@ import ( "errors" "strings" - "hakurei.app/container" "hakurei.app/hst" + "hakurei.app/message" ) const ( @@ -68,7 +68,7 @@ func TypeString(e hst.Enablement) string { } // New returns the address of a new [I] targeting uid. -func New(ctx context.Context, msg container.Msg, uid int) (sys *I) { +func New(ctx context.Context, msg message.Msg, uid int) (sys *I) { if ctx == nil || msg == nil || uid < 0 { panic("invalid call to New") } @@ -89,7 +89,7 @@ type I struct { // the behaviour of Revert is only defined for up to one call reverted bool - msg container.Msg + msg message.Msg syscallDispatcher } -- cgit v1.3.1