]>
Commit | Line | Data |
---|---|---|
1 | /** | |
2 | * Enhanced Seccomp x32 Specific Code | |
3 | * | |
4 | * Copyright (c) 2013 Red Hat <pmoore@redhat.com> | |
5 | * Author: Paul Moore <paul@paul-moore.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_X32_H | |
23 | #define _ARCH_X32_H | |
24 | ||
25 | #include <inttypes.h> | |
26 | ||
27 | #include "arch.h" | |
28 | #include "system.h" | |
29 | ||
30 | #define X32_SYSCALL_BIT 0x40000000 | |
31 | ||
32 | extern const struct arch_def arch_def_x32; | |
33 | ||
34 | int x32_syscall_resolve_name(const char *name); | |
35 | const char *x32_syscall_resolve_num(int num); | |
36 | ||
37 | const char *x32_syscall_iterate_name(unsigned int spot); | |
38 | ||
39 | #endif |