aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/host/syscalls_linux_test.go
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2023-01-16 16:25:33 +0100
committerAleksandr Nogikh <wp32pw@gmail.com>2023-01-18 11:21:44 +0100
commita635fc592bda72f93491d4bf137a42e7187862c9 (patch)
tree542c034c5bff0c2df0d4c194cabff28ae2ab146b /pkg/host/syscalls_linux_test.go
parent72ffcd56daa5cd710f520e1354d344000485dfee (diff)
pkg/host: don't expect open and stat syscalls to be always present
They do not exist on ARM64 Linux and break syzkaller tests on them.
Diffstat (limited to 'pkg/host/syscalls_linux_test.go')
-rw-r--r--pkg/host/syscalls_linux_test.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/pkg/host/syscalls_linux_test.go b/pkg/host/syscalls_linux_test.go
index 97f11c25f..375a640ea 100644
--- a/pkg/host/syscalls_linux_test.go
+++ b/pkg/host/syscalls_linux_test.go
@@ -27,11 +27,9 @@ func TestSupportedSyscalls(t *testing.T) {
"memfd_create",
"sendfile",
"bpf$MAP_CREATE",
- "open",
"openat",
"read",
"write",
- "stat",
}
enabled := make(map[*prog.Syscall]bool)
for _, name := range safe {