aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/shim/payload.go
blob: 3919bb85b426068c87e267f9909d58d04bc663f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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, nil for permissive
	Bwrap *bwrap.Config
	// whether to pass wayland fd
	WL bool

	// verbosity pass through
	Verbose bool
}