diff options
Diffstat (limited to 'internal/shim/payload.go')
| -rw-r--r-- | internal/shim/payload.go | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/internal/shim/payload.go b/internal/shim/payload.go new file mode 100644 index 00000000..6202bfe7 --- /dev/null +++ b/internal/shim/payload.go @@ -0,0 +1,23 @@ +package shim + +import ( + "git.ophivana.moe/cat/fortify/helper/bwrap" +) + +const EnvShim = "FORTIFY_SHIM" + +type Payload struct { + // child full argv + Argv []string + // env variables passed through to bwrap + Env []string + // bwrap, target full exec path + Exec [2]string + // bwrap config, nil for permissive + Bwrap *bwrap.Config + // whether to pas wayland fd + WL bool + + // verbosity pass through + Verbose bool +} |
