From e0f321b2c4eafba27a93fce93f444b62822c74db Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 18 Feb 2025 18:47:48 +0900 Subject: sys: rename from linux Signed-off-by: Ophestra --- internal/app/app.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'internal/app/app.go') diff --git a/internal/app/app.go b/internal/app/app.go index 20966b78..2a96c544 100644 --- a/internal/app/app.go +++ b/internal/app/app.go @@ -6,7 +6,7 @@ import ( "git.gensokyo.uk/security/fortify/fst" "git.gensokyo.uk/security/fortify/internal/app/shim" - "git.gensokyo.uk/security/fortify/internal/linux" + "git.gensokyo.uk/security/fortify/internal/sys" ) type App interface { @@ -32,7 +32,7 @@ type app struct { // application unique identifier id *fst.ID // operating system interface - os linux.System + os sys.State // shim process manager shim *shim.Shim // child process related information @@ -64,7 +64,7 @@ func (a *app) String() string { return "(unsealed fortified app)" } -func New(os linux.System) (App, error) { +func New(os sys.State) (App, error) { a := new(app) a.id = new(fst.ID) a.os = os -- cgit v1.3.1