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 #if !(defined(SECCOMP_GET_ACTION_AVAIL) || (defined(HAVE_DECL_SECCOMP_GET_ACTION_AVAIL) && HAVE_DECL_SECCOMP_GET_ACTION_AVAIL))
9 # define SECCOMP_GET_ACTION_AVAIL 2
10 #endif
11 
12 #ifdef IN_MPERS
13 
14 # error static const struct xlat seccomp_ops in mpers mode
15 
16 #else
17 
18 static
19 const struct xlat seccomp_ops[] = {
20  XLAT(SECCOMP_SET_MODE_STRICT),
21  XLAT(SECCOMP_SET_MODE_FILTER),
22  XLAT(SECCOMP_GET_ACTION_AVAIL),
23  XLAT_END
24 };
25 
26 #endif /* !IN_MPERS */
27