From 1161b790cf10bae533533d687c22e05a934049d6 Mon Sep 17 00:00:00 2001 From: George Adams Date: Mon, 9 Sep 2024 21:14:46 +0100 Subject: [PATCH] seccomp: add riscv64 mapping to seccomp_linux.go Signed-off-by: George Adams --- profiles/seccomp/seccomp_linux.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/profiles/seccomp/seccomp_linux.go b/profiles/seccomp/seccomp_linux.go index 4d8fed68c6a19..17ee350e274ae 100644 --- a/profiles/seccomp/seccomp_linux.go +++ b/profiles/seccomp/seccomp_linux.go @@ -39,6 +39,7 @@ var nativeToSeccomp = map[string]specs.Arch{ "ppc": specs.ArchPPC, "ppc64": specs.ArchPPC64, "ppc64le": specs.ArchPPC64LE, + "riscv64": specs.ArchRISCV64, "s390": specs.ArchS390, "s390x": specs.ArchS390X, } @@ -57,6 +58,7 @@ var goToNative = map[string]string{ "ppc": "ppc", "ppc64": "ppc64", "ppc64le": "ppc64le", + "riscv64": "riscv64", "s390": "s390", "s390x": "s390x", }