|
@@ -35,6 +35,10 @@ func arches() []Architecture {
|
|
|
Arch: specs.ArchS390X,
|
|
|
SubArches: []specs.Arch{specs.ArchS390},
|
|
|
},
|
|
|
+ {
|
|
|
+ Arch: specs.ArchRISCV64,
|
|
|
+ SubArches: nil,
|
|
|
+ },
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -533,6 +537,17 @@ func DefaultProfile() *Seccomp {
|
|
|
Arches: []string{"s390", "s390x"},
|
|
|
},
|
|
|
},
|
|
|
+ {
|
|
|
+ LinuxSyscall: specs.LinuxSyscall{
|
|
|
+ Names: []string{
|
|
|
+ "riscv_flush_icache",
|
|
|
+ },
|
|
|
+ Action: specs.ActAllow,
|
|
|
+ },
|
|
|
+ Includes: &Filter{
|
|
|
+ Arches: []string{"riscv64"},
|
|
|
+ },
|
|
|
+ },
|
|
|
{
|
|
|
LinuxSyscall: specs.LinuxSyscall{
|
|
|
Names: []string{
|