aboutsummaryrefslogtreecommitdiffhomepage
path: root/sandbox/container.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-03-27 19:40:19 +0900
committerOphestra <cat@gensokyo.uk>2025-03-27 19:40:19 +0900
commit184e9db2b2ee960e7c7b2014aec72a28d9110bcc (patch)
tree180c6a67f09d5b3c9c2cd0600c30113435a3428c /sandbox/container.go
parent605d018be266a9e0d5c8256d647e3a61fa6df79a (diff)
sandbox: support privileged container
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'sandbox/container.go')
-rw-r--r--sandbox/container.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/sandbox/container.go b/sandbox/container.go
index f2595c38..58c9749d 100644
--- a/sandbox/container.go
+++ b/sandbox/container.go
@@ -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
}