From 660a2898dc0dbfe9963d8f336e04582955b56b8a Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 28 Mar 2025 01:09:26 +0900 Subject: test/sandbox/ptrace: dump seccomp bpf program Signed-off-by: Ophestra --- test/sandbox/seccomp.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'test/sandbox/seccomp.go') diff --git a/test/sandbox/seccomp.go b/test/sandbox/seccomp.go index 9ccf1348..437679c4 100644 --- a/test/sandbox/seccomp.go +++ b/test/sandbox/seccomp.go @@ -10,9 +10,7 @@ import ( */ import "C" -const NULL = 0 - -func TrySyscalls() error { +func trySyscalls() error { testCases := []struct { name string errno syscall.Errno -- cgit v1.3.1