Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion config-linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand All @@ -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).

Expand Down
3 changes: 2 additions & 1 deletion schema/defs-linux.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@
"SCMP_ARCH_S390",
"SCMP_ARCH_S390X",
"SCMP_ARCH_PARISC",
"SCMP_ARCH_PARISC64"
"SCMP_ARCH_PARISC64",
"SCMP_ARCH_RISCV64"
]
},
"SeccompAction": {
Expand Down
1 change: 1 addition & 0 deletions specs-go/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down