From c1399f5030abde76728ba7982a7a22fd49e75359 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Wed, 5 Nov 2025 02:47:43 +0900 Subject: std: rename from comp Seccomp lookup tables are going to be relocated here, and PNR constants. Signed-off-by: Ophestra --- container/container.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'container/container.go') diff --git a/container/container.go b/container/container.go index 1e23897d..86fd7ce3 100644 --- a/container/container.go +++ b/container/container.go @@ -15,9 +15,9 @@ import ( "time" "hakurei.app/container/check" - "hakurei.app/container/comp" "hakurei.app/container/fhs" "hakurei.app/container/seccomp" + "hakurei.app/container/std" "hakurei.app/message" ) @@ -89,7 +89,7 @@ type ( // Extra seccomp flags. SeccompFlags seccomp.ExportFlag // Seccomp presets. Has no effect unless SeccompRules is zero-length. - SeccompPresets comp.FilterPreset + SeccompPresets std.FilterPreset // Do not load seccomp program. SeccompDisable bool @@ -177,7 +177,7 @@ func (p *Container) Start() error { } if !p.RetainSession { - p.SeccompPresets |= comp.PresetDenyTTY + p.SeccompPresets |= std.PresetDenyTTY } if p.AdoptWaitDelay == 0 { -- cgit v1.3.1