]>
iEval git - linux-seccomp.git/blob - libseccomp/src/arch-x32.c
2 * Enhanced Seccomp x32 Specific Code
4 * Copyright (c) 2013 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>
29 const struct arch_def arch_def_x32
= {
30 .token
= SCMP_ARCH_X32
,
31 /* NOTE: this seems odd but the kernel treats x32 like x86_64 here */
32 .token_bpf
= AUDIT_ARCH_X86_64
,
34 .endian
= ARCH_ENDIAN_LITTLE
,
35 .syscall_resolve_name
= x32_syscall_resolve_name
,
36 .syscall_resolve_num
= x32_syscall_resolve_num
,
37 .syscall_rewrite
= NULL
,
This page took 0.047386 seconds and 4 git commands to generate.