File tree 3 files changed +27
-0
lines changed
3 files changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -743,6 +743,17 @@ The following parameters can be specified to set up seccomp:
743
743
* ` SCMP_ARCH_PARISC64 `
744
744
* ` SCMP_ARCH_RISCV64 `
745
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
+ -->
756
+
746
757
* ** ` flags ` ** * (array of strings, OPTIONAL)* - list of flags to use with seccomp(2).
747
758
748
759
A valid list of constants is shown below.
Original file line number Diff line number Diff line change 35
35
" SCMP_ARCH_X32" ,
36
36
" SCMP_ARCH_ARM" ,
37
37
" SCMP_ARCH_AARCH64" ,
38
+ " SCMP_ARCH_LOONGARCH64" ,
39
+ " SCMP_ARCH_M68K" ,
38
40
" SCMP_ARCH_MIPS" ,
39
41
" SCMP_ARCH_MIPS64" ,
40
42
" SCMP_ARCH_MIPS64N32" ,
46
48
" SCMP_ARCH_PPC64LE" ,
47
49
" SCMP_ARCH_S390" ,
48
50
" SCMP_ARCH_S390X" ,
51
+ " SCMP_ARCH_SH" ,
52
+ " SCMP_ARCH_SHEB" ,
49
53
" SCMP_ARCH_PARISC" ,
50
54
" SCMP_ARCH_PARISC64" ,
51
55
" SCMP_ARCH_RISCV64"
Original file line number Diff line number Diff line change @@ -761,6 +761,18 @@ const (
761
761
ArchRISCV64 Arch = "SCMP_ARCH_RISCV64"
762
762
)
763
763
764
+ // The following constants are defined in the main branch of libseccomp,
765
+ // but not included in its latest release (v2.5) yet.
766
+ // https://github.com/seccomp/libseccomp/commits/main/include/seccomp.h.in
767
+ //
768
+ // Will be included in libseccomp v2.6.
769
+ const (
770
+ ArchLOONGARCH64 Arch = "SCMP_ARCH_LOONGARCH64"
771
+ ArchM68K Arch = "SCMP_ARCH_M68K"
772
+ ArchSH Arch = "SCMP_ARCH_SH"
773
+ ArchSHEB Arch = "SCMP_ARCH_SHEB"
774
+ )
775
+
764
776
// LinuxSeccompAction taken upon Seccomp rule match
765
777
type LinuxSeccompAction string
766
778
You can’t perform that action at this time.
0 commit comments