sandbox: support privileged container

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-03-27 19:40:19 +09:00
parent 605d018be2
commit 184e9db2b2
3 changed files with 26 additions and 5 deletions

View File

@@ -99,6 +99,8 @@ type (
// Permission bits of newly created parent directories.
// The zero value is interpreted as 0755.
ParentPerm os.FileMode
// Retain CAP_SYS_ADMIN.
Privileged bool
Flags HardeningFlags
}