app: generate and replace passwd and group files

This ensures libc functions get correct user information.

Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
This commit is contained in:
2024-10-13 02:43:00 +09:00
parent 65a5f8fb08
commit e4536b87ad
5 changed files with 81 additions and 11 deletions

View File

@@ -13,7 +13,7 @@ type Payload struct {
Exec [2]string
// bwrap config, nil for permissive
Bwrap *bwrap.Config
// whether to pas wayland fd
// whether to pass wayland fd
WL bool
// verbosity pass through