From e94acc424c5746eb6cf903ed97b4e71223fda50f Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 21 Oct 2025 20:54:03 +0900 Subject: container/comp: rename from bits This package will also hold syscall lookup tables for seccomp. Signed-off-by: Ophestra --- internal/app/shim.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/app/shim.go') diff --git a/internal/app/shim.go b/internal/app/shim.go index 6be45746..9f85a202 100644 --- a/internal/app/shim.go +++ b/internal/app/shim.go @@ -14,7 +14,7 @@ import ( "time" "hakurei.app/container" - "hakurei.app/container/bits" + "hakurei.app/container/comp" "hakurei.app/container/seccomp" "hakurei.app/hst" "hakurei.app/message" @@ -176,7 +176,7 @@ func ShimMain() { } if err := seccomp.Load( - seccomp.Preset(bits.PresetStrict, seccomp.AllowMultiarch), + seccomp.Preset(comp.PresetStrict, seccomp.AllowMultiarch), seccomp.AllowMultiarch, ); err != nil { log.Fatalf("cannot load syscall filter: %v", err) -- cgit v1.3.1