aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/shim/payload.go
blob: 7248c86cfc5ed2d37318c6db1fd3b1d19afd34db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package shim

import "git.ophivana.moe/cat/fortify/helper/bwrap"

const EnvShim = "FORTIFY_SHIM"

type Payload struct {
	// child full argv
	Argv []string
	// bwrap, target full exec path
	Exec [2]string
	// bwrap config
	Bwrap *bwrap.Config
	// whether to pass wayland fd
	WL bool

	// verbosity pass through
	Verbose bool
}