aboutsummaryrefslogtreecommitdiff
path: root/xlat/seccomp_ops.h
blob: b6f0e2a3c544e26d58777ca0417bddd2f317dd82 (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
/* Generated by ./xlat/gen.sh from ./xlat/seccomp_ops.in; do not edit. */
#if !(defined(SECCOMP_SET_MODE_STRICT) || (defined(HAVE_DECL_SECCOMP_SET_MODE_STRICT) && HAVE_DECL_SECCOMP_SET_MODE_STRICT))
# define SECCOMP_SET_MODE_STRICT 0
#endif
#if !(defined(SECCOMP_SET_MODE_FILTER) || (defined(HAVE_DECL_SECCOMP_SET_MODE_FILTER) && HAVE_DECL_SECCOMP_SET_MODE_FILTER))
# define SECCOMP_SET_MODE_FILTER 1
#endif
#if !(defined(SECCOMP_GET_ACTION_AVAIL) || (defined(HAVE_DECL_SECCOMP_GET_ACTION_AVAIL) && HAVE_DECL_SECCOMP_GET_ACTION_AVAIL))
# define SECCOMP_GET_ACTION_AVAIL 2
#endif

#ifdef IN_MPERS

# error static const struct xlat seccomp_ops in mpers mode

#else

static
const struct xlat seccomp_ops[] = {
 XLAT(SECCOMP_SET_MODE_STRICT),
 XLAT(SECCOMP_SET_MODE_FILTER),
 XLAT(SECCOMP_GET_ACTION_AVAIL),
 XLAT_END
};

#endif /* !IN_MPERS */