• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* Generated by ./xlat/gen.sh from ./xlat/sigsys_codes.in; do not edit. */
2 
3 #include "gcc_compat.h"
4 #include "static_assert.h"
5 
6 #if defined(SYS_SECCOMP) || (defined(HAVE_DECL_SYS_SECCOMP) && HAVE_DECL_SYS_SECCOMP)
7 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
8 static_assert((SYS_SECCOMP) == (1), "SYS_SECCOMP != 1");
9 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
10 #else
11 # define SYS_SECCOMP 1
12 #endif
13 
14 #ifndef XLAT_MACROS_ONLY
15 
16 # ifdef IN_MPERS
17 
18 extern const struct xlat sigsys_codes[];
19 
20 # else
21 
22 #  if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS)
23 static
24 #  endif
25 const struct xlat sigsys_codes[] = {
26  XLAT(SYS_SECCOMP),
27  XLAT_END
28 };
29 
30 # endif /* !IN_MPERS */
31 
32 #endif /* !XLAT_MACROS_ONLY */
33