diff options
author | Andreas Schwab <schwab@suse.de> | 2020-01-07 14:51:19 +0100 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2020-02-23 10:27:58 -0500 |
commit | 5432e15521d5ce5a7d3f26bf78674cbaa9d73d1f (patch) | |
tree | f0bf4ab2fcb55620c15aae9f4c6169bea6d73285 /tools/scmp_arch_detect.c | |
parent | 0a4c0300ebcc982cf419a4f7382ffc28e4792d2a (diff) | |
download | libseccomp-5432e15521d5ce5a7d3f26bf78674cbaa9d73d1f.tar.gz |
arch: Add RISC-V 64-bit support
Signed-off-by: Andreas Schwab <schwab@suse.de>
[PM: minor macro shuffling in seccomp.h.in]
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'tools/scmp_arch_detect.c')
-rw-r--r-- | tools/scmp_arch_detect.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/scmp_arch_detect.c b/tools/scmp_arch_detect.c index ad43f2d..b844a68 100644 --- a/tools/scmp_arch_detect.c +++ b/tools/scmp_arch_detect.c @@ -120,6 +120,9 @@ int main(int argc, char *argv[]) case SCMP_ARCH_S390X: printf("s390x\n"); break; + case SCMP_ARCH_RISCV64: + printf("riscv64\n"); + break; default: printf("unknown\n"); } |