Skip to content

Commit

Permalink
Merge pull request #4976 from michalbiesek/setSeccomp-arch
Browse files Browse the repository at this point in the history
chroot: setSeccomp add support for `ArchPARISC(64)` and `ArchRISCV64`
  • Loading branch information
openshift-merge-robot committed Aug 17, 2023
2 parents 795c155 + 5643a7f commit 61249b1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions chroot/seccomp.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,11 @@ func setSeccomp(spec *specs.Spec) error {
case specs.ArchS390X:
return libseccomp.ArchS390X
case specs.ArchPARISC:
/* fallthrough */ /* for now */
return libseccomp.ArchPARISC
case specs.ArchPARISC64:
/* fallthrough */ /* for now */
return libseccomp.ArchPARISC64
case specs.ArchRISCV64:
return libseccomp.ArchRISCV64
default:
logrus.Errorf("unmappable arch %v", specArch)
}
Expand Down

0 comments on commit 61249b1

Please sign in to comment.