aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/sandbox/seccomp.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/sandbox/seccomp.go')
-rw-r--r--test/sandbox/seccomp.go4
1 files changed, 1 insertions, 3 deletions
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