diff options
author | Paul Moore <paul@paul-moore.com> | 2021-11-01 10:06:57 -0600 |
---|---|---|
committer | Tom Hromatka <tom.hromatka@oracle.com> | 2021-11-01 10:07:08 -0600 |
commit | 060a677ea5de077a7ae9f82b7142d388a1a336b6 (patch) | |
tree | 35b082b67217c62f7c80346daef4aadd9f0ff398 /src/arch-mips64n32.c | |
parent | 68cc5bf3d85ddedbd9a43a44389c3593b517e6c5 (diff) | |
download | libseccomp-060a677ea5de077a7ae9f82b7142d388a1a336b6.tar.gz |
arch: move the ARCH_DEF() calls into the arch/ABI specific files
This should make it easier to ensure we have arch/ABIs added
properly to libseccomp.
Signed-off-by: Paul Moore <paul@paul-moore.com>
Reviewed-by: Tom Hromatka <tom.hromatka@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
Diffstat (limited to 'src/arch-mips64n32.c')
-rw-r--r-- | src/arch-mips64n32.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/arch-mips64n32.c b/src/arch-mips64n32.c index 532c8f3..c23cfc3 100644 --- a/src/arch-mips64n32.c +++ b/src/arch-mips64n32.c @@ -26,6 +26,7 @@ #include "arch.h" #include "arch-mips64n32.h" +#include "syscalls.h" /* N32 ABI */ #define __SCMP_NR_BASE 6000 @@ -72,6 +73,8 @@ const char *mips64n32_syscall_resolve_num_munge(const struct arch_def *arch, return mips64n32_syscall_resolve_num(num); } +ARCH_DEF(mips64n32) + const struct arch_def arch_def_mips64n32 = { .token = SCMP_ARCH_MIPS64N32, .token_bpf = AUDIT_ARCH_MIPS64N32, |