| 1 | /** |
| 2 | * Enhanced Seccomp AArch64 Syscall Table |
| 3 | * |
| 4 | * Copyright (c) 2014 Red Hat <mjuszkiewicz@redhat.com> |
| 5 | * Author: Marcin Juszkiewicz <mjuszkiewicz@redhat.com> |
| 6 | */ |
| 7 | |
| 8 | /* |
| 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. |
| 12 | * |
| 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 |
| 16 | * for more details. |
| 17 | * |
| 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>. |
| 20 | */ |
| 21 | |
| 22 | #ifndef _ARCH_AARCH64_H |
| 23 | #define _ARCH_AARCH64_H |
| 24 | |
| 25 | #include <inttypes.h> |
| 26 | |
| 27 | #include "arch.h" |
| 28 | #include "system.h" |
| 29 | |
| 30 | extern const struct arch_def arch_def_aarch64; |
| 31 | |
| 32 | int aarch64_syscall_resolve_name(const char *name); |
| 33 | const char *aarch64_syscall_resolve_num(int num); |
| 34 | |
| 35 | const char *aarch64_syscall_iterate_name(unsigned int spot); |
| 36 | #endif |