File tree Expand file tree Collapse file tree 3 files changed +27
-0
lines changed Expand file tree Collapse file tree 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:
743743 * ` SCMP_ARCH_PARISC64 `
744744 * ` SCMP_ARCH_RISCV64 `
745745
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+
746757* ** ` flags ` ** * (array of strings, OPTIONAL)* - list of flags to use with seccomp(2).
747758
748759 A valid list of constants is shown below.
Original file line number Diff line number Diff line change 3535 " SCMP_ARCH_X32" ,
3636 " SCMP_ARCH_ARM" ,
3737 " SCMP_ARCH_AARCH64" ,
38+ " SCMP_ARCH_LOONGARCH64" ,
39+ " SCMP_ARCH_M68K" ,
3840 " SCMP_ARCH_MIPS" ,
3941 " SCMP_ARCH_MIPS64" ,
4042 " SCMP_ARCH_MIPS64N32" ,
4648 " SCMP_ARCH_PPC64LE" ,
4749 " SCMP_ARCH_S390" ,
4850 " SCMP_ARCH_S390X" ,
51+ " SCMP_ARCH_SH" ,
52+ " SCMP_ARCH_SHEB" ,
4953 " SCMP_ARCH_PARISC" ,
5054 " SCMP_ARCH_PARISC64" ,
5155 " SCMP_ARCH_RISCV64"
Original file line number Diff line number Diff line change @@ -761,6 +761,18 @@ const (
761761 ArchRISCV64 Arch = "SCMP_ARCH_RISCV64"
762762)
763763
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+
764776// LinuxSeccompAction taken upon Seccomp rule match
765777type LinuxSeccompAction string
766778
You can’t perform that action at this time.
0 commit comments