diff options
author | John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> | 2020-08-17 13:12:14 +0200 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2021-03-08 19:55:32 -0500 |
commit | c12945db0b7e32f409ba3a68d18c6d6f6dd22b19 (patch) | |
tree | d87fc7447552cc09a1fe385a2a27a604c7717419 /tools/scmp_arch_detect.c | |
parent | 83d7b022fa7ef8c24516cc668efc879e5398403f (diff) | |
download | libseccomp-c12945db0b7e32f409ba3a68d18c6d6f6dd22b19.tar.gz |
arch: Add SuperH 32-bit support
Initial support for seccomp for SuperH in Linux was added in 2.6.27-rc2,
support for SECCOMP_FILTER was added for Linux 5.9. This adds support
for SuperH in libseccomp, both for little-endian and big-endian mode.
Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Acked-by: Tom Hromatka <tom.hromatka@oracle.com>
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 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/scmp_arch_detect.c b/tools/scmp_arch_detect.c index b844a68..b6bd2bb 100644 --- a/tools/scmp_arch_detect.c +++ b/tools/scmp_arch_detect.c @@ -123,6 +123,12 @@ int main(int argc, char *argv[]) case SCMP_ARCH_RISCV64: printf("riscv64\n"); break; + case SCMP_ARCH_SHEB: + printf("sheb\n"); + break; + case SCMP_ARCH_SH: + printf("sh\n"); + break; default: printf("unknown\n"); } |