diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-02-16 16:28:46 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-02-16 16:28:46 +0900 |
| commit | 33a4ab11c226c736c0d8b2644fbbe27a5ca045e9 (patch) | |
| tree | faf4e054a5ebbb02a9a99ecae6a83ec9eb993001 /internal/app/init/payload.go | |
| parent | 1fa5e992e4e73fd6f1774544e07655b88f9c83d6 (diff) | |
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 <cat@gensokyo.uk>
Diffstat (limited to 'internal/app/init/payload.go')
| -rw-r--r-- | internal/app/init/payload.go | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/internal/app/init/payload.go b/internal/app/init/payload.go new file mode 100644 index 00000000..d1dc9ec3 --- /dev/null +++ b/internal/app/init/payload.go @@ -0,0 +1,13 @@ +package init0 + +const Env = "FORTIFY_INIT" + +type Payload struct { + // target full exec path + Argv0 string + // child full argv + Argv []string + + // verbosity pass through + Verbose bool +} |
