diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-10-07 18:28:20 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-10-07 18:28:20 +0900 |
| commit | 3ce63e95d7691450f7b368e639d984a223a764b1 (patch) | |
| tree | 5bc4d688d7fc25359de055934a1efc9f4daee163 /container/seccomp/hash_test.go | |
| parent | 2489766efe7b94873a04339009c3609c55e3856f (diff) | |
container: move seccomp preset bits
This allows holding the bits without cgo.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'container/seccomp/hash_test.go')
| -rw-r--r-- | container/seccomp/hash_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
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 ) |
