Skip to content

Commit b081a42

Browse files
author
Mrunal Patel
authored
Merge pull request #357 from q384566678/check-seccomp
Add valid seccomp arch
2 parents 868323a + 3238fd2 commit b081a42

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

completions/bash/oci-runtime-tool

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,8 @@ __oci-runtime-tool_complete_seccomp_arches() {
168168
ppc64le
169169
s390
170170
s390x
171+
parisc
172+
parisc64
171173
" -- "$cur" ) )
172174
}
173175

validate/validate.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -572,6 +572,8 @@ func (v *Validator) CheckSeccomp() (msgs []string) {
572572
case rspec.ArchPPC64LE:
573573
case rspec.ArchS390:
574574
case rspec.ArchS390X:
575+
case rspec.ArchPARISC:
576+
case rspec.ArchPARISC64:
575577
default:
576578
msgs = append(msgs, fmt.Sprintf("seccomp architecture %q is invalid", s.Architectures[index]))
577579
}

0 commit comments

Comments
 (0)