blob: 054044b25147611973cf9028cead7bda14d3833e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
/*
* Copyright 2015 IBM
* Author: Jan Willeke <willeke@linux.vnet.com.com>
*/
#ifndef _ARCH_s390x_H
#define _ARCH_s390x_H
#include <inttypes.h>
#include "arch.h"
#include "system.h"
#define s390x_arg_count_max 6
extern const struct arch_def arch_def_s390x;
#define s390x_arg_offset(x) (offsetof(struct seccomp_data, args[x]))
#define s390x_arg_offset_lo(x) (s390x_arg_offset(x) + 4)
#define s390x_arg_offset_hi(x) (s390x_arg_offset(x))
int s390x_syscall_resolve_name(const char *name);
const char *s390x_syscall_resolve_num(int num);
const char *s390x_syscall_iterate_name(unsigned int spot);
const char *s390x_syscall_iterate_name(unsigned int spot);
#endif
|