]>
Commit | Line | Data |
---|---|---|
1 | /* | |
2 | * Copyright 2015 IBM | |
3 | * Author: Jan Willeke <willeke@linux.vnet.com.com> | |
4 | */ | |
5 | ||
6 | #ifndef _ARCH_S390_H | |
7 | #define _ARCH_S390_H | |
8 | ||
9 | #include <inttypes.h> | |
10 | ||
11 | #include "arch.h" | |
12 | #include "db.h" | |
13 | #include "system.h" | |
14 | ||
15 | #define s390_arg_count_max 6 | |
16 | ||
17 | extern const struct arch_def arch_def_s390; | |
18 | #define s390_arg_offset(x) (offsetof(struct seccomp_data, args[x])) | |
19 | ||
20 | int s390_syscall_resolve_name(const char *name); | |
21 | const char *s390_syscall_resolve_num(int num); | |
22 | ||
23 | const char *s390_syscall_iterate_name(unsigned int spot); | |
24 | ||
25 | int s390_syscall_rewrite(int *syscall); | |
26 | ||
27 | int s390_rule_add(struct db_filter_col *col, struct db_filter *db, bool strict, | |
28 | struct db_api_rule_list *rule); | |
29 | ||
30 | #endif |