Bundle libseccomp 2.3.1
[linux-seccomp.git] / libseccomp / src / arch-s390.h
CommitLineData
8befd5cc
MG
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
17extern const struct arch_def arch_def_s390;
18#define s390_arg_offset(x) (offsetof(struct seccomp_data, args[x]))
19
20int s390_syscall_resolve_name(const char *name);
21const char *s390_syscall_resolve_num(int num);
22
23const char *s390_syscall_iterate_name(unsigned int spot);
24
25int s390_syscall_rewrite(int *syscall);
26
27int s390_rule_add(struct db_filter_col *col, struct db_filter *db, bool strict,
28 struct db_api_rule_list *rule);
29
30#endif
This page took 0.010978 seconds and 4 git commands to generate.