Bundle libseccomp 2.3.1
[linux-seccomp.git] / libseccomp / src / arch-s390x.h
CommitLineData
8befd5cc
MG
1/*
2 * Copyright 2015 IBM
3 * Author: Jan Willeke <willeke@linux.vnet.com.com>
4 */
5
6#ifndef _ARCH_S390X_H
7#define _ARCH_S390X_H
8
9#include <inttypes.h>
10
11#include "arch.h"
12#include "db.h"
13#include "system.h"
14
15#define s390x_arg_count_max 6
16
17extern const struct arch_def arch_def_s390x;
18#define s390x_arg_offset(x) (offsetof(struct seccomp_data, args[x]))
19
20#define s390x_arg_offset_lo(x) (s390x_arg_offset(x) + 4)
21#define s390x_arg_offset_hi(x) (s390x_arg_offset(x))
22
23int s390x_syscall_resolve_name(const char *name);
24const char *s390x_syscall_resolve_num(int num);
25
26const char *s390x_syscall_iterate_name(unsigned int spot);
27
28int s390x_syscall_rewrite(int *syscall);
29
30int s390x_rule_add(struct db_filter_col *col, struct db_filter *db, bool strict,
31 struct db_api_rule_list *rule);
32
33#endif
This page took 0.011413 seconds and 4 git commands to generate.