aboutsummaryrefslogtreecommitdiffhomepage
path: root/helper/bwrap/config.string.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.string.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.string.go')
-rw-r--r--helper/bwrap/config.string.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/helper/bwrap/config.string.go b/helper/bwrap/config.string.go
index c5c7a41e..2aa05bee 100644
--- a/helper/bwrap/config.string.go
+++ b/helper/bwrap/config.string.go
@@ -6,6 +6,9 @@ const (
UnsetEnv
LockFile
RemountRO
+ Procfs
+ DevTmpfs
+ Mqueue
stringC
)
@@ -16,6 +19,9 @@ var stringArgs = func() (n [stringC]string) {
n[UnsetEnv] = "--unsetenv"
n[LockFile] = "--lock-file"
n[RemountRO] = "--remount-ro"
+ n[Procfs] = "--proc"
+ n[DevTmpfs] = "--dev"
+ n[Mqueue] = "--mqueue"
return
}()
@@ -30,6 +36,9 @@ func (c *Config) stringArgs() (n [stringC][]string) {
n[UnsetEnv] = c.UnsetEnv
n[LockFile] = c.LockFile
n[RemountRO] = c.RemountRO
+ n[Procfs] = c.Procfs
+ n[DevTmpfs] = c.DevTmpfs
+ n[Mqueue] = c.Mqueue
return
}