|
Packit |
56e23f |
/**
|
|
Packit |
56e23f |
* Enhanced Seccomp AArch64 Syscall Table
|
|
Packit |
56e23f |
*
|
|
Packit |
56e23f |
* Copyright (c) 2014 Red Hat <mjuszkiewicz@redhat.com>
|
|
Packit |
56e23f |
* Author: Marcin Juszkiewicz <mjuszkiewicz@redhat.com>
|
|
Packit |
56e23f |
*/
|
|
Packit |
56e23f |
|
|
Packit |
56e23f |
/*
|
|
Packit |
56e23f |
* This library is free software; you can redistribute it and/or modify it
|
|
Packit |
56e23f |
* under the terms of version 2.1 of the GNU Lesser General Public License as
|
|
Packit |
56e23f |
* published by the Free Software Foundation.
|
|
Packit |
56e23f |
*
|
|
Packit |
56e23f |
* This library is distributed in the hope that it will be useful, but WITHOUT
|
|
Packit |
56e23f |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
Packit |
56e23f |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
|
|
Packit |
56e23f |
* for more details.
|
|
Packit |
56e23f |
*
|
|
Packit |
56e23f |
* You should have received a copy of the GNU Lesser General Public License
|
|
Packit |
56e23f |
* along with this library; if not, see <http://www.gnu.org/licenses>.
|
|
Packit |
56e23f |
*/
|
|
Packit |
56e23f |
|
|
Packit |
56e23f |
#include <stdlib.h>
|
|
Packit |
56e23f |
#include <errno.h>
|
|
Packit |
56e23f |
#include <linux/audit.h>
|
|
Packit |
56e23f |
|
|
Packit |
56e23f |
#include "arch.h"
|
|
Packit |
56e23f |
#include "arch-aarch64.h"
|
|
Packit |
56e23f |
|
|
Packit |
56e23f |
const struct arch_def arch_def_aarch64 = {
|
|
Packit |
56e23f |
.token = SCMP_ARCH_AARCH64,
|
|
Packit |
56e23f |
.token_bpf = AUDIT_ARCH_AARCH64,
|
|
Packit |
56e23f |
.size = ARCH_SIZE_64,
|
|
Packit |
56e23f |
.endian = ARCH_ENDIAN_LITTLE,
|
|
Packit |
56e23f |
.syscall_resolve_name = aarch64_syscall_resolve_name,
|
|
Packit |
56e23f |
.syscall_resolve_num = aarch64_syscall_resolve_num,
|
|
Packit |
56e23f |
.syscall_rewrite = NULL,
|
|
Packit |
56e23f |
.rule_add = NULL,
|
|
Packit |
56e23f |
};
|