summaryrefslogtreecommitdiffhomepage
path: root/runsc/specutils/seccomp/seccomp_test.go
diff options
context:
space:
mode:
authorHoward Zhang <howard.zhang@arm.com>2020-09-24 09:39:25 +0800
committerHoward Zhang <howard.zhang@arm.com>2020-09-25 14:49:13 +0800
commitae1141778ecb336ef59a25556d7f382da3613756 (patch)
tree1fe73aef9f6b99bbae1c4685be6cbf83b37860d4 /runsc/specutils/seccomp/seccomp_test.go
parentd47209b86d2feef9f7dade78fcb85911a8596973 (diff)
fix seccomp test for ARM64
As open syscall is not support on ARM64, change syscall from 'open' to 'openat' in no_match_name_allow Signed-off-by: Howard Zhang <howard.zhang@arm.com>
Diffstat (limited to 'runsc/specutils/seccomp/seccomp_test.go')
-rw-r--r--runsc/specutils/seccomp/seccomp_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/runsc/specutils/seccomp/seccomp_test.go b/runsc/specutils/seccomp/seccomp_test.go
index 2079cd2e9..850c237ba 100644
--- a/runsc/specutils/seccomp/seccomp_test.go
+++ b/runsc/specutils/seccomp/seccomp_test.go
@@ -169,7 +169,7 @@ var (
},
},
},
- input: testInput(nativeArchAuditNo, "open", nil),
+ input: testInput(nativeArchAuditNo, "openat", nil),
expected: uint32(allowAction),
},
{