app/seal: skip /mnt in permissive default
This directory usually contains temporarily mounted stuff and shouldn't get into the sandbox. Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
This commit is contained in:
parent
b091260fd3
commit
c818ea649a
|
@ -134,6 +134,7 @@ func (a *app) Seal(config *Config) error {
|
||||||
case "proc":
|
case "proc":
|
||||||
case "dev":
|
case "dev":
|
||||||
case "run":
|
case "run":
|
||||||
|
case "mnt":
|
||||||
default:
|
default:
|
||||||
p := "/" + name
|
p := "/" + name
|
||||||
b = append(b, &FilesystemConfig{Src: p, Write: true, Must: true})
|
b = append(b, &FilesystemConfig{Src: p, Write: true, Must: true})
|
||||||
|
|
Loading…
Reference in New Issue