summaryrefslogtreecommitdiff
path: root/src/arch-parisc64.c
diff options
context:
space:
mode:
authorPaul Moore <paul@paul-moore.com>2020-03-23 14:49:09 -0400
committerPaul Moore <paul@paul-moore.com>2020-03-23 16:23:51 -0400
commit3e91da39fd6e647ed171b5f727d372be5b4feee7 (patch)
tree168c074d7cc30a5216777fdcdf0e32b2e6651cb7 /src/arch-parisc64.c
parent8c8b5cb12c4da769e7a25f720bec3bfbfb15d3f6 (diff)
downloadlibseccomp-3e91da39fd6e647ed171b5f727d372be5b4feee7.tar.gz
parisc64: separate parisc and parisc64
Previously parisc64 was borrowing from parsic which led to problems with the syscall table for parisc64. This patch properly splits the two ABIs. Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'src/arch-parisc64.c')
-rw-r--r--src/arch-parisc64.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/arch-parisc64.c b/src/arch-parisc64.c
index 2b63120..08e5081 100644
--- a/src/arch-parisc64.c
+++ b/src/arch-parisc64.c
@@ -8,15 +8,15 @@
#include <linux/audit.h>
#include "arch.h"
-#include "arch-parisc.h"
+#include "arch-parisc64.h"
const struct arch_def arch_def_parisc64 = {
.token = SCMP_ARCH_PARISC64,
.token_bpf = AUDIT_ARCH_PARISC64,
.size = ARCH_SIZE_64,
.endian = ARCH_ENDIAN_BIG,
- .syscall_resolve_name = parisc_syscall_resolve_name,
- .syscall_resolve_num = parisc_syscall_resolve_num,
+ .syscall_resolve_name = parisc64_syscall_resolve_name,
+ .syscall_resolve_num = parisc64_syscall_resolve_num,
.syscall_rewrite = NULL,
.rule_add = NULL,
};