Skip to content

Commit 0473c7e

Browse files
author
Mrunal Patel
authored
Merge pull request opencontainers#505 from estesp/seccomp-arches
Add new architectures from libseccomp 2.3.0
2 parents 8399dc9 + 124ce0b commit 0473c7e

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

config-linux.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ Seccomp provides application sandboxing mechanism in the Linux kernel.
465465
Seccomp configuration allows one to configure actions to take for matched syscalls and furthermore also allows matching on values passed as arguments to syscalls.
466466
For more information about Seccomp, see [Seccomp kernel documentation](https://www.kernel.org/doc/Documentation/prctl/seccomp_filter.txt)
467467
The actions, architectures, and operators are strings that match the definitions in seccomp.h from [libseccomp](https://github.com/seccomp/libseccomp) and are translated to corresponding values.
468-
A valid list of constants as of Libseccomp v2.2.3 is contained below.
468+
A valid list of constants as of libseccomp v2.3.0 is shown below.
469469

470470
Architecture Constants
471471
* `SCMP_ARCH_X86`
@@ -479,6 +479,11 @@ Architecture Constants
479479
* `SCMP_ARCH_MIPSEL`
480480
* `SCMP_ARCH_MIPSEL64`
481481
* `SCMP_ARCH_MIPSEL64N32`
482+
* `SCMP_ARCH_PPC`
483+
* `SCMP_ARCH_PPC64`
484+
* `SCMP_ARCH_PPC64LE`
485+
* `SCMP_ARCH_S390`
486+
* `SCMP_ARCH_S390X`
482487

483488
Action Constants:
484489
* `SCMP_ACT_KILL`

schema/defs-linux.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,12 @@
1313
"SCMP_ARCH_MIPS64N32",
1414
"SCMP_ARCH_MIPSEL",
1515
"SCMP_ARCH_MIPSEL64",
16-
"SCMP_ARCH_MIPSEL64N32"
16+
"SCMP_ARCH_MIPSEL64N32",
17+
"SCMP_ARCH_PPC",
18+
"SCMP_ARCH_PPC64",
19+
"SCMP_ARCH_PPC64LE",
20+
"SCMP_ARCH_S390",
21+
"SCMP_ARCH_S390X"
1722
]
1823
},
1924
"SeccompAction": {

0 commit comments

Comments
 (0)