Skip to content

Commit 9de64c0

Browse files
committed
config-linux: update for libseccomp v2.6.0
libseccomp v2.6.0 was released on Jan 23, 2025. https://github.com/seccomp/libseccomp/releases/tag/v2.6.0 Signed-off-by: Akihiro Suda <[email protected]>
1 parent 131ae4c commit 9de64c0

File tree

2 files changed

+7
-22
lines changed

2 files changed

+7
-22
lines changed

config-linux.md

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ The following parameters can be specified to set up seccomp:
721721
When the action doesn't support an errno, the runtime MUST print and error and fail.
722722
If not specified then its default value is `EPERM`.
723723
* **`architectures`** *(array of strings, OPTIONAL)* - the architecture used for system calls.
724-
A valid list of constants as of libseccomp v2.5.0 is shown below.
724+
A valid list of constants as of libseccomp v2.6.0 is shown below.
725725

726726
* `SCMP_ARCH_X86`
727727
* `SCMP_ARCH_X86_64`
@@ -742,17 +742,10 @@ The following parameters can be specified to set up seccomp:
742742
* `SCMP_ARCH_PARISC`
743743
* `SCMP_ARCH_PARISC64`
744744
* `SCMP_ARCH_RISCV64`
745-
746-
<!--
747-
The following constants are defined in the main branch of libseccomp,
748-
but not included in its latest release (v2.5) yet:
749-
https://github.com/seccomp/libseccomp/commits/main/include/seccomp.h.in
750-
751-
* SCMP_ARCH_LOONGARCH64
752-
* SCMP_ARCH_M68K
753-
* SCMP_ARCH_SH
754-
* SCMP_ARCH_SHEB
755-
-->
745+
* `SCMP_ARCH_LOONGARCH64`
746+
* `SCMP_ARCH_M68K`
747+
* `SCMP_ARCH_SH`
748+
* `SCMP_ARCH_SHEB`
756749

757750
* **`flags`** *(array of strings, OPTIONAL)* - list of flags to use with seccomp(2).
758751

@@ -786,7 +779,7 @@ https://github.com/seccomp/libseccomp/commits/main/include/seccomp.h.in
786779
* **`names`** *(array of strings, REQUIRED)* - the names of the syscalls.
787780
`names` MUST contain at least one entry.
788781
* **`action`** *(string, REQUIRED)* - the action for seccomp rules.
789-
A valid list of constants as of libseccomp v2.5.0 is shown below.
782+
A valid list of constants as of libseccomp v2.6.0 is shown below.
790783

791784
* `SCMP_ACT_KILL`
792785
* `SCMP_ACT_KILL_PROCESS`
@@ -810,7 +803,7 @@ https://github.com/seccomp/libseccomp/commits/main/include/seccomp.h.in
810803
* **`value`** *(uint64, REQUIRED)* - the value for syscall arguments in seccomp.
811804
* **`valueTwo`** *(uint64, OPTIONAL)* - the value for syscall arguments in seccomp.
812805
* **`op`** *(string, REQUIRED)* - the operator for syscall arguments in seccomp.
813-
A valid list of constants as of libseccomp v2.3.2 is shown below.
806+
A valid list of constants as of libseccomp v2.6.0 is shown below.
814807

815808
* `SCMP_CMP_NE`
816809
* `SCMP_CMP_LT`

specs-go/config.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -770,14 +770,6 @@ const (
770770
ArchPARISC Arch = "SCMP_ARCH_PARISC"
771771
ArchPARISC64 Arch = "SCMP_ARCH_PARISC64"
772772
ArchRISCV64 Arch = "SCMP_ARCH_RISCV64"
773-
)
774-
775-
// The following constants are defined in the main branch of libseccomp,
776-
// but not included in its latest release (v2.5) yet.
777-
// https://github.com/seccomp/libseccomp/commits/main/include/seccomp.h.in
778-
//
779-
// Will be included in libseccomp v2.6.
780-
const (
781773
ArchLOONGARCH64 Arch = "SCMP_ARCH_LOONGARCH64"
782774
ArchM68K Arch = "SCMP_ARCH_M68K"
783775
ArchSH Arch = "SCMP_ARCH_SH"

0 commit comments

Comments
 (0)