From 532feb4bfaa84a57dc8de97f36b13a89610a0584 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 25 Mar 2025 05:21:47 +0900 Subject: app: merge shim into app package Signed-off-by: Ophestra --- internal/app/process.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'internal/app/process.go') diff --git a/internal/app/process.go b/internal/app/process.go index 00f66432..69a66e51 100644 --- a/internal/app/process.go +++ b/internal/app/process.go @@ -9,7 +9,6 @@ import ( "git.gensokyo.uk/security/fortify/fst" "git.gensokyo.uk/security/fortify/internal" - "git.gensokyo.uk/security/fortify/internal/app/shim" "git.gensokyo.uk/security/fortify/internal/fmsg" "git.gensokyo.uk/security/fortify/internal/state" "git.gensokyo.uk/security/fortify/system" @@ -95,7 +94,7 @@ func (seal *outcome) Run(rs *fst.RunState) error { */ waitErr := make(chan error, 1) - cmd := new(shim.Shim) + cmd := new(shimProcess) if startTime, err := cmd.Start( seal.user.aid.String(), seal.user.supp, @@ -115,7 +114,7 @@ func (seal *outcome) Run(rs *fst.RunState) error { cancel() }() - if err := cmd.Serve(ctx, &shim.Params{ + if err := cmd.Serve(ctx, &shimParams{ Container: seal.container, Home: seal.user.data, -- cgit v1.3.1