(root)/
strace-6.5/
src/
xlat/
sigsys_codes.h
       1  /* Generated by ./src/xlat/gen.sh from ./src/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  #if defined(SYS_USER_DISPATCH) || (defined(HAVE_DECL_SYS_USER_DISPATCH) && HAVE_DECL_SYS_USER_DISPATCH)
      14  DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
      15  static_assert((SYS_USER_DISPATCH) == (2), "SYS_USER_DISPATCH != 2");
      16  DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
      17  #else
      18  # define SYS_USER_DISPATCH 2
      19  #endif
      20  #undef XLAT_PREV_VAL
      21  
      22  #ifndef XLAT_MACROS_ONLY
      23  
      24  # ifdef IN_MPERS
      25  
      26  extern const struct xlat sigsys_codes[];
      27  
      28  # else
      29  
      30  DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
      31  static const struct xlat_data sigsys_codes_xdata[] = {
      32   XLAT(SYS_SECCOMP),
      33   #define XLAT_VAL_0 ((unsigned) (SYS_SECCOMP))
      34   #define XLAT_STR_0 STRINGIFY(SYS_SECCOMP)
      35   XLAT(SYS_USER_DISPATCH),
      36   #define XLAT_VAL_1 ((unsigned) (SYS_USER_DISPATCH))
      37   #define XLAT_STR_1 STRINGIFY(SYS_USER_DISPATCH)
      38  };
      39  #  if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS)
      40  static
      41  #  endif
      42  const struct xlat sigsys_codes[1] = { {
      43   .data = sigsys_codes_xdata,
      44   .size = ARRAY_SIZE(sigsys_codes_xdata),
      45   .type = XT_NORMAL,
      46   .flags_mask = 0
      47  #  ifdef XLAT_VAL_0
      48    | XLAT_VAL_0
      49  #  endif
      50  #  ifdef XLAT_VAL_1
      51    | XLAT_VAL_1
      52  #  endif
      53    ,
      54   .flags_strsz = 0
      55  #  ifdef XLAT_STR_0
      56    + sizeof(XLAT_STR_0)
      57  #  endif
      58  #  ifdef XLAT_STR_1
      59    + sizeof(XLAT_STR_1)
      60  #  endif
      61    ,
      62  } };
      63  DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
      64  
      65  #  undef XLAT_STR_0
      66  #  undef XLAT_VAL_0
      67  #  undef XLAT_STR_1
      68  #  undef XLAT_VAL_1
      69  # endif /* !IN_MPERS */
      70  
      71  #endif /* !XLAT_MACROS_ONLY */