aboutsummaryrefslogtreecommitdiffhomepage
path: root/helper/bwrap/config.go
diff options
context:
space:
mode:
authorOphestra Umiker <cat@ophivana.moe>2024-10-11 01:30:11 +0900
committerOphestra Umiker <cat@ophivana.moe>2024-10-11 01:30:11 +0900
commit101e49a48b067a9decadbebfb2cc1a97a9a73618 (patch)
tree66424a5ff34d22001c4d052fe741f255a9b874d1 /helper/bwrap/config.go
parenta3aadd4146c0249b41e11691c2930b3ef3c321ba (diff)
helper/bwrap: proc, dev and mqueue as string arguments
These flags do not support --chmod. Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
Diffstat (limited to 'helper/bwrap/config.go')
-rw-r--r--helper/bwrap/config.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/helper/bwrap/config.go b/helper/bwrap/config.go
index c20a33b0..4163a7df 100644
--- a/helper/bwrap/config.go
+++ b/helper/bwrap/config.go
@@ -127,16 +127,16 @@ type Config struct {
// mount new procfs in sandbox
// (--proc DEST)
- Procfs []PermConfig[string] `json:"proc,omitempty"`
+ Procfs []string `json:"proc,omitempty"`
// mount new dev in sandbox
// (--dev DEST)
- DevTmpfs []PermConfig[string] `json:"dev,omitempty"`
+ DevTmpfs []string `json:"dev,omitempty"`
// mount new tmpfs in sandbox
// (--tmpfs DEST)
Tmpfs []PermConfig[TmpfsConfig] `json:"tmpfs,omitempty"`
// mount new mqueue in sandbox
// (--mqueue DEST)
- Mqueue []PermConfig[string] `json:"mqueue,omitempty"`
+ Mqueue []string `json:"mqueue,omitempty"`
// create dir in sandbox
// (--dir DEST)
Dir []PermConfig[string] `json:"dir,omitempty"`