From 3ce63e95d7691450f7b368e639d984a223a764b1 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 7 Oct 2025 18:28:20 +0900 Subject: container: move seccomp preset bits This allows holding the bits without cgo. Signed-off-by: Ophestra --- container/seccomp/hash_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'container/seccomp/hash_test.go') diff --git a/container/seccomp/hash_test.go b/container/seccomp/hash_test.go index 1d31ac0f..24f6b1c7 100644 --- a/container/seccomp/hash_test.go +++ b/container/seccomp/hash_test.go @@ -3,13 +3,14 @@ package seccomp_test import ( "encoding/hex" + "hakurei.app/container/bits" "hakurei.app/container/seccomp" ) type ( bpfPreset = struct { seccomp.ExportFlag - seccomp.FilterPreset + bits.FilterPreset } bpfLookup map[bpfPreset][]byte ) -- cgit v1.3.1