2 * Enhanced Seccomp MIPS Specific Code
4 * Copyright (c) 2014 Imagination Technologies Ltd.
5 * Author: Markos Chandras <markos.chandras@imgtec.com>
10 * This library is free software; you can redistribute it and/or modify it
11 * under the terms of version 2.1 of the GNU Lesser General Public License as
12 * published by the Free Software Foundation.
14 * This library is distributed in the hope that it will be useful, but WITHOUT
15 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
16 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
19 * You should have received a copy of the GNU Lesser General Public License
20 * along with this library; if not, see <http://www.gnu.org/licenses>.
25 #include <linux/audit.h>
28 #include "arch-mips.h"
30 const struct arch_def arch_def_mips
= {
31 .token
= SCMP_ARCH_MIPS
,
32 .token_bpf
= AUDIT_ARCH_MIPS
,
34 .endian
= ARCH_ENDIAN_BIG
,
35 .syscall_resolve_name
= mips_syscall_resolve_name
,
36 .syscall_resolve_num
= mips_syscall_resolve_num
,
37 .syscall_rewrite
= NULL
,
41 const struct arch_def arch_def_mipsel
= {
42 .token
= SCMP_ARCH_MIPSEL
,
43 .token_bpf
= AUDIT_ARCH_MIPSEL
,
45 .endian
= ARCH_ENDIAN_LITTLE
,
46 .syscall_resolve_name
= mips_syscall_resolve_name
,
47 .syscall_resolve_num
= mips_syscall_resolve_num
,
48 .syscall_rewrite
= NULL
,