From 33a4ab11c226c736c0d8b2644fbbe27a5ca045e9 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sun, 16 Feb 2025 16:28:46 +0900 Subject: internal: move shim and init into app This structure makes more sense, as both processes are part of an app's lifecycle. Signed-off-by: Ophestra --- internal/priv/shim/payload.go | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 internal/priv/shim/payload.go (limited to 'internal/priv/shim/payload.go') diff --git a/internal/priv/shim/payload.go b/internal/priv/shim/payload.go deleted file mode 100644 index e659e3fd..00000000 --- a/internal/priv/shim/payload.go +++ /dev/null @@ -1,23 +0,0 @@ -package shim - -import ( - "git.gensokyo.uk/security/fortify/helper/bwrap" -) - -const Env = "FORTIFY_SHIM" - -type Payload struct { - // child full argv - Argv []string - // bwrap, target full exec path - Exec [2]string - // bwrap config - Bwrap *bwrap.Config - // path to outer home directory - Home string - // sync fd - Sync *uintptr - - // verbosity pass through - Verbose bool -} -- cgit v1.3.1