forked from seccomp/libseccomp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
arch-parisc.c
27 lines (23 loc) · 658 Bytes
/
arch-parisc.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
* Copyright (c) 2016 Helge Deller <[email protected]>
* Author: Helge Deller <[email protected]>
*/
#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,
.syscall_name_kver = parisc_syscall_name_kver,
.syscall_num_kver = parisc_syscall_num_kver,
};