Skip to content
This repository was archived by the owner on Aug 28, 2020. It is now read-only.

Commit 1f910e3

Browse files
authored
Merge pull request #32 from openSUSE/arches
Add additional seccomp architectures
2 parents 80216ab + 468d6e0 commit 1f910e3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

types.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ type Arch string
2727
// Additional architectures permitted to be used for system calls
2828
// By default only the native architecture of the kernel is permitted
2929
const (
30+
ArchNative Arch = "SCMP_ARCH_NATIVE"
3031
ArchX86 Arch = "SCMP_ARCH_X86"
3132
ArchX86_64 Arch = "SCMP_ARCH_X86_64"
3233
ArchX32 Arch = "SCMP_ARCH_X32"
@@ -43,6 +44,9 @@ const (
4344
ArchPPC64LE Arch = "SCMP_ARCH_PPC64LE"
4445
ArchS390 Arch = "SCMP_ARCH_S390"
4546
ArchS390X Arch = "SCMP_ARCH_S390X"
47+
ArchPARISC Arch = "SCMP_ARCH_PARISC"
48+
ArchPARISC64 Arch = "SCMP_ARCH_PARISC64"
49+
ArchRISCV64 Arch = "SCMP_ARCH_RISCV64"
4650
)
4751

4852
// Action taken upon Seccomp rule match

0 commit comments

Comments
 (0)