aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/internal/sandbox/seccomp.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-10-03 18:46:38 +0900
committerOphestra <cat@gensokyo.uk>2026-10-03 18:52:11 +0900
commitf2e188c4a0f472bcbd87189f63099d2c73936789 (patch)
tree1b96bd5bb8ae99460d93e6d477e5ee024a08b009 /test/internal/sandbox/seccomp.go
parentaa41002e8078a3ab00896cbd403e573c6dd817c2 (diff)
test/internal/testsuite: move ptrace helpers
This also cleans up their API. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'test/internal/sandbox/seccomp.go')
-rw-r--r--test/internal/sandbox/seccomp.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/internal/sandbox/seccomp.go b/test/internal/sandbox/seccomp.go
index 7df781d2..1d8cd457 100644
--- a/test/internal/sandbox/seccomp.go
+++ b/test/internal/sandbox/seccomp.go
@@ -12,6 +12,8 @@ import (
*/
import "C"
+const NULL = 0
+
func trySyscalls() error {
testCases := []struct {
name string