File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -243,10 +243,11 @@ type Seccomp struct {
243243 Syscalls []* Syscall `json:"syscalls"`
244244}
245245
246- // Additional architectures permitted to be used for system calls
247- // By default only the native architecture of the kernel is permitted
246+ // Arch used for additional architectures
248247type Arch string
249248
249+ // Additional architectures permitted to be used for system calls
250+ // By default only the native architecture of the kernel is permitted
250251const (
251252 ArchX86 Arch = "SCMP_ARCH_X86"
252253 ArchX86_64 Arch = "SCMP_ARCH_X86_64"
@@ -264,6 +265,7 @@ const (
264265// Action taken upon Seccomp rule match
265266type Action string
266267
268+ // Define actions for Seccomp rules
267269const (
268270 ActKill Action = "SCMP_ACT_KILL"
269271 ActTrap Action = "SCMP_ACT_TRAP"
@@ -275,6 +277,7 @@ const (
275277// Operator used to match syscall arguments in Seccomp
276278type Operator string
277279
280+ // Define operators for syscall arguments in Seccomp
278281const (
279282 OpNotEqual Operator = "SCMP_CMP_NE"
280283 OpLessThan Operator = "SCMP_CMP_LT"
You can’t perform that action at this time.
0 commit comments