summaryrefslogtreecommitdiffstats
path: root/src/arch-parisc64.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/arch-parisc64.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/arch-parisc64.c b/src/arch-parisc64.c
new file mode 100644
index 0000000..2446407
--- /dev/null
+++ b/src/arch-parisc64.c
@@ -0,0 +1,25 @@
+/*
+ * Copyright (c) 2016 Helge Deller <deller@gmx.de>
+ * Author: Helge Deller <deller@gmx.de>
+*/
+
+#include <stdlib.h>
+#include <errno.h>
+#include <linux/audit.h>
+
+#include "arch.h"
+#include "arch-parisc64.h"
+#include "syscalls.h"
+
+ARCH_DEF(parisc64)
+
+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_raw = parisc64_syscall_resolve_name,
+ .syscall_resolve_num_raw = parisc64_syscall_resolve_num,
+ .syscall_rewrite = NULL,
+ .rule_add = NULL,
+};