]>
Commit | Line | Data |
---|---|---|
1 | /** | |
2 | * Enhanced Seccomp ARM 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 | #include <stdlib.h> | |
23 | #include <errno.h> | |
24 | #include <linux/audit.h> | |
25 | ||
26 | #include "arch.h" | |
27 | #include "arch-arm.h" | |
28 | ||
29 | const struct arch_def arch_def_arm = { | |
30 | .token = SCMP_ARCH_ARM, | |
31 | .token_bpf = AUDIT_ARCH_ARM, | |
32 | .size = ARCH_SIZE_32, | |
33 | .endian = ARCH_ENDIAN_LITTLE, | |
34 | .syscall_resolve_name = arm_syscall_resolve_name, | |
35 | .syscall_resolve_num = arm_syscall_resolve_num, | |
36 | .syscall_rewrite = NULL, | |
37 | .rule_add = NULL, | |
38 | }; |