summaryrefslogtreecommitdiffstats
path: root/src/arch-parisc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch-parisc.c')
-rw-r--r--src/arch-parisc.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/arch-parisc.c b/src/arch-parisc.c
new file mode 100644
index 0000000..9a200fe
--- /dev/null
+++ b/src/arch-parisc.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-parisc.h"
+#include "syscalls.h"
+
+ARCH_DEF(parisc)
+
+const struct arch_def arch_def_parisc = {
+ .token = SCMP_ARCH_PARISC,
+ .token_bpf = AUDIT_ARCH_PARISC,
+ .size = ARCH_SIZE_32,
+ .endian = ARCH_ENDIAN_BIG,
+ .syscall_resolve_name_raw = parisc_syscall_resolve_name,
+ .syscall_resolve_num_raw = parisc_syscall_resolve_num,
+ .syscall_rewrite = NULL,
+ .rule_add = NULL,
+};