aboutsummaryrefslogtreecommitdiffhomepage
path: root/sandbox/container.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-03-25 19:49:51 +0900
committerOphestra <cat@gensokyo.uk>2025-03-25 19:49:51 +0900
commit971c79bb80e2dc88421f047e82556a39ef063fbf (patch)
tree327af2fde48d76768ae445910c3b2de526047036 /sandbox/container.go
parentf86d8682749dda2d0f6dc62d493389a5e0c8d88d (diff)
sandbox: remove hardcoded parent perm
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'sandbox/container.go')
-rw-r--r--sandbox/container.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/sandbox/container.go b/sandbox/container.go
index ee4f632e..70929bb1 100644
--- a/sandbox/container.go
+++ b/sandbox/container.go
@@ -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
}