• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* Generated by ./xlat/gen.sh from ./xlat/seccomp_mode.in; do not edit. */
2 #if !(defined(SECCOMP_MODE_DISABLED) || (defined(HAVE_DECL_SECCOMP_MODE_DISABLED) && HAVE_DECL_SECCOMP_MODE_DISABLED))
3 # define SECCOMP_MODE_DISABLED 0
4 #endif
5 #if !(defined(SECCOMP_MODE_STRICT) || (defined(HAVE_DECL_SECCOMP_MODE_STRICT) && HAVE_DECL_SECCOMP_MODE_STRICT))
6 # define SECCOMP_MODE_STRICT 1
7 #endif
8 #if !(defined(SECCOMP_MODE_FILTER) || (defined(HAVE_DECL_SECCOMP_MODE_FILTER) && HAVE_DECL_SECCOMP_MODE_FILTER))
9 # define SECCOMP_MODE_FILTER 2
10 #endif
11 
12 #ifdef IN_MPERS
13 
14 # error static const struct xlat seccomp_mode in mpers mode
15 
16 #else
17 
18 static
19 const struct xlat seccomp_mode[] = {
20  XLAT(SECCOMP_MODE_DISABLED),
21  XLAT(SECCOMP_MODE_STRICT),
22  XLAT(SECCOMP_MODE_FILTER),
23  XLAT_END
24 };
25 
26 #endif /* !IN_MPERS */
27