2 * Enhanced Seccomp x86_64 Specific Code
4 * Copyright (c) 2012 Red Hat <pmoore@redhat.com>
5 * Author: Paul Moore <paul@paul-moore.com>
9 * This library is free software; you can redistribute it and/or modify it
10 * under the terms of version 2.1 of the GNU Lesser General Public License as
11 * published by the Free Software Foundation.
13 * This library is distributed in the hope that it will be useful, but WITHOUT
14 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
18 * You should have received a copy of the GNU Lesser General Public License
19 * along with this library; if not, see <http://www.gnu.org/licenses>.
24 #include <linux/audit.h>
27 #include "arch-x86_64.h"
29 const struct arch_def arch_def_x86_64
= {
30 .token
= SCMP_ARCH_X86_64
,
31 .token_bpf
= AUDIT_ARCH_X86_64
,
33 .endian
= ARCH_ENDIAN_LITTLE
,
34 .syscall_resolve_name
= x86_64_syscall_resolve_name
,
35 .syscall_resolve_num
= x86_64_syscall_resolve_num
,
36 .syscall_rewrite
= NULL
,