aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/seccomp/libseccomp_test.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-07-09 03:47:16 +0900
committerOphestra <cat@gensokyo.uk>2025-07-09 04:21:35 +0900
commite574042d765f135814c5afabaf24cb7109fab175 (patch)
tree6301ab836acc681c90891ca199c5dcc8cdca9ad3 /container/seccomp/libseccomp_test.go
parent2b44493e8a255b40a9809208f5c751ca7c539027 (diff)
test/sandbox: verify seccomp on all test cases
This change also makes seccomp hashes cross-platform. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'container/seccomp/libseccomp_test.go')
-rw-r--r--container/seccomp/libseccomp_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/container/seccomp/libseccomp_test.go b/container/seccomp/libseccomp_test.go
index 8135b59c..8443adec 100644
--- a/container/seccomp/libseccomp_test.go
+++ b/container/seccomp/libseccomp_test.go
@@ -28,6 +28,7 @@ func TestExport(t *testing.T) {
{"strict", 0, PresetStrict, false},
{"strict compat", 0, PresetDenyNS | PresetDenyTTY | PresetDenyDevel, false},
{"hakurei default", 0, PresetExt | PresetDenyDevel, false},
+ {"hakurei tty", 0, PresetExt | PresetDenyNS | PresetDenyDevel, false},
}
buf := make([]byte, 8)