diff --git a/config-linux.md b/config-linux.md index 6f710daf8..0acdf56ac 100644 --- a/config-linux.md +++ b/config-linux.md @@ -570,7 +570,7 @@ The following parameters can be specified to set up seccomp: * **`defaultAction`** *(string, REQUIRED)* - the default action for seccomp. Allowed values are the same as `syscalls[].action`. * **`architectures`** *(array of strings, OPTIONAL)* - the architecture used for system calls. - A valid list of constants as of libseccomp v2.3.2 is shown below. + A valid list of constants as of libseccomp v2.5.0 is shown below. * `SCMP_ARCH_X86` * `SCMP_ARCH_X86_64` @@ -590,6 +590,7 @@ The following parameters can be specified to set up seccomp: * `SCMP_ARCH_S390X` * `SCMP_ARCH_PARISC` * `SCMP_ARCH_PARISC64` + * `SCMP_ARCH_RISCV64` * **`flags`** *(array of strings, OPTIONAL)* - list of flags to use with seccomp(2). diff --git a/schema/defs-linux.json b/schema/defs-linux.json index 8b34ca94b..73a14fc53 100644 --- a/schema/defs-linux.json +++ b/schema/defs-linux.json @@ -47,7 +47,8 @@ "SCMP_ARCH_S390", "SCMP_ARCH_S390X", "SCMP_ARCH_PARISC", - "SCMP_ARCH_PARISC64" + "SCMP_ARCH_PARISC64", + "SCMP_ARCH_RISCV64" ] }, "SeccompAction": { diff --git a/specs-go/config.go b/specs-go/config.go index 3dc9efd23..5915f1fd1 100644 --- a/specs-go/config.go +++ b/specs-go/config.go @@ -628,6 +628,7 @@ const ( ArchS390X Arch = "SCMP_ARCH_S390X" ArchPARISC Arch = "SCMP_ARCH_PARISC" ArchPARISC64 Arch = "SCMP_ARCH_PARISC64" + ArchRISCV64 Arch = "SCMP_ARCH_RISCV64" ) // LinuxSeccompAction taken upon Seccomp rule match