shim: update payload comment

Generating permissive default no longer happens in shim.

Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
This commit is contained in:
2024-10-13 17:19:50 +09:00
parent 77f2c320a6
commit 3739b56504
2 changed files with 4 additions and 6 deletions

View File

@@ -1,8 +1,6 @@
package shim
import (
"git.ophivana.moe/cat/fortify/helper/bwrap"
)
import "git.ophivana.moe/cat/fortify/helper/bwrap"
const EnvShim = "FORTIFY_SHIM"
@@ -11,7 +9,7 @@ type Payload struct {
Argv []string
// bwrap, target full exec path
Exec [2]string
// bwrap config, nil for permissive
// bwrap config
Bwrap *bwrap.Config
// whether to pass wayland fd
WL bool