diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-01-22 12:01:30 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-01-22 12:01:30 +0900 |
| commit | 580128922be2a983192804b7963175b2a0fe2093 (patch) | |
| tree | fd74bda38a2f9c89ee7f0ae458f75c3fd88c2602 /cmd/fpkg/bundle.go | |
| parent | 23e1152baa345d36003c34086f9599df00ccd1a7 (diff) | |
cmd/fpkg: expose syscall policy options
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'cmd/fpkg/bundle.go')
| -rw-r--r-- | cmd/fpkg/bundle.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cmd/fpkg/bundle.go b/cmd/fpkg/bundle.go index 22b9de28..5c9db725 100644 --- a/cmd/fpkg/bundle.go +++ b/cmd/fpkg/bundle.go @@ -38,6 +38,13 @@ type bundleInfo struct { // passed through to [fst.Config] Enablements system.Enablements `json:"enablements"` + // passed through inverted to [bwrap.SyscallPolicy] + Devel bool `json:"devel,omitempty"` + // passed through to [bwrap.SyscallPolicy] + Multiarch bool `json:"multiarch,omitempty"` + // passed through to [bwrap.SyscallPolicy] + Bluetooth bool `json:"bluetooth,omitempty"` + // allow gpu access within sandbox GPU bool `json:"gpu"` // store path to nixGL mesa wrappers |
