Skip to content

Commit

Permalink
chroot: setSeccomp add support for ArchPARISC(64) and ArchRISCV64
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Biesek <michalbiesek@gmail.com>
  • Loading branch information
michalbiesek committed Aug 14, 2023
1 parent 94dd0b6 commit 24eb77f
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 24eb77f

Please sign in to comment.