summaryrefslogtreecommitdiffhomepage
path: root/pkg/seccomp/BUILD
diff options
context:
space:
mode:
authorHoward Zhang <howard.zhang@arm.com>2020-08-03 12:40:54 +0800
committerHoward Zhang <howard.zhang@arm.com>2020-08-12 13:01:49 +0800
commitcdef21c3d5406bd9db5494d2a0c7be700479df2b (patch)
tree5c66c4e9b76e7dfdb05ec817263c46805edd7697 /pkg/seccomp/BUILD
parentba2bf9fc13c204ad05d9fbb7199b890e6faf1d76 (diff)
enable seccomp test on arm64
syscalls in ARM64 is different from that in X86_64, use differen syscallrules for each arch. The auditnumber are also different for different arch. Use LINUX_AUDIT_ARCH to get correct auditnumber. Signed-off-by: Howard Zhang <howard.zhang@arm.com>
Diffstat (limited to 'pkg/seccomp/BUILD')
-rw-r--r--pkg/seccomp/BUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkg/seccomp/BUILD b/pkg/seccomp/BUILD
index c5fca2ba3..5aa9614cb 100644
--- a/pkg/seccomp/BUILD
+++ b/pkg/seccomp/BUILD
@@ -5,7 +5,9 @@ package(licenses = ["notice"])
go_binary(
name = "victim",
testonly = 1,
- srcs = ["seccomp_test_victim.go"],
+ srcs = ["seccomp_test_victim.go",
+ "seccomp_test_victim_amd64.go",
+ "seccomp_test_victim_arm64.go",],
deps = [":seccomp"],
)