seccomp_ops.h revision 8948469fa2b0466425995b7e843b1659eb2779e7
1/* Generated by ./xlat/gen.sh from ./xlat/seccomp_ops.in; do not edit. */
2#if !(defined(SECCOMP_SET_MODE_STRICT) || (defined(HAVE_DECL_SECCOMP_SET_MODE_STRICT) && HAVE_DECL_SECCOMP_SET_MODE_STRICT))
3# define SECCOMP_SET_MODE_STRICT 0
4#endif
5#if !(defined(SECCOMP_SET_MODE_FILTER) || (defined(HAVE_DECL_SECCOMP_SET_MODE_FILTER) && HAVE_DECL_SECCOMP_SET_MODE_FILTER))
6# define SECCOMP_SET_MODE_FILTER 1
7#endif
8
9#ifdef IN_MPERS
10
11# error static const struct xlat seccomp_ops in mpers mode
12
13#else
14
15static
16const struct xlat seccomp_ops[] = {
17 XLAT(SECCOMP_SET_MODE_STRICT),
18 XLAT(SECCOMP_SET_MODE_FILTER),
19 XLAT_END
20};
21
22#endif /* !IN_MPERS */
23