Skip to content

Commit

Permalink
Add valid seccomp arch
Browse files Browse the repository at this point in the history
Signed-off-by: zhouhao <zhouhao@cn.fujitsu.com>
  • Loading branch information
zhouhao committed Apr 11, 2017
1 parent 868323a commit 3238fd2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions completions/bash/oci-runtime-tool
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ __oci-runtime-tool_complete_seccomp_arches() {
ppc64le
s390
s390x
parisc
parisc64
" -- "$cur" ) )
}

Expand Down
2 changes: 2 additions & 0 deletions validate/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -572,6 +572,8 @@ func (v *Validator) CheckSeccomp() (msgs []string) {
case rspec.ArchPPC64LE:
case rspec.ArchS390:
case rspec.ArchS390X:
case rspec.ArchPARISC:
case rspec.ArchPARISC64:
default:
msgs = append(msgs, fmt.Sprintf("seccomp architecture %q is invalid", s.Architectures[index]))
}
Expand Down

0 comments on commit 3238fd2

Please sign in to comment.