Ophestra Umiker
52f21a19f3
The socket-based approach is no longer necessary as fsu allows extra files and sudo compatibility is no longer relevant. Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
22 lines
320 B
Go
22 lines
320 B
Go
package shim0
|
|
|
|
import (
|
|
"git.ophivana.moe/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
|
|
// sync fd
|
|
Sync *uintptr
|
|
|
|
// verbosity pass through
|
|
Verbose bool
|
|
}
|