Skip to content

Commit

Permalink
arch: Add riscv64 support to arch-syscall-dump
Browse files Browse the repository at this point in the history
This patch adds support for riscv64 to arch-syscall-dump.c

Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
  • Loading branch information
drakenclimber authored and pcmoore committed Mar 10, 2020
1 parent aa9589c commit 5b03588
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/arch-syscall-dump.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
#include "arch-parisc.h"
#include "arch-ppc.h"
#include "arch-ppc64.h"
#include "arch-riscv64.h"
#include "arch-s390.h"
#include "arch-s390x.h"

Expand Down Expand Up @@ -127,6 +128,9 @@ int main(int argc, char *argv[])
case SCMP_ARCH_PPC64LE:
sys = ppc64_syscall_iterate(iter);
break;
case SCMP_ARCH_RISCV64:
sys = riscv64_syscall_iterate(iter);
break;
case SCMP_ARCH_S390:
sys = s390_syscall_iterate(iter);
break;
Expand Down

0 comments on commit 5b03588

Please sign in to comment.