sandbox: remove hardcoded parent perm

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-03-25 19:49:51 +09:00
parent f86d868274
commit 971c79bb80
3 changed files with 18 additions and 12 deletions

View File

@@ -96,6 +96,9 @@ type (
*Ops
// Extra seccomp options.
Seccomp seccomp.SyscallOpts
// Permission bits of newly created parent directories.
// The zero value is interpreted as 0755.
ParentPerm os.FileMode
Flags HardeningFlags
}