(root)/
strace-6.5/
src/
xlat/
f_seals.h
       1  /* Generated by ./src/xlat/gen.sh from ./src/xlat/f_seals.in; do not edit. */
       2  
       3  #include "gcc_compat.h"
       4  #include "static_assert.h"
       5  
       6  #undef XLAT_PREV_VAL
       7  
       8  #ifndef XLAT_MACROS_ONLY
       9  
      10  # ifdef IN_MPERS
      11  
      12  #  error static const struct xlat f_seals in mpers mode
      13  
      14  # else
      15  
      16  DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
      17  static const struct xlat_data f_seals_xdata[] = {
      18   XLAT(F_SEAL_SEAL),
      19   #define XLAT_VAL_0 ((unsigned) (F_SEAL_SEAL))
      20   #define XLAT_STR_0 STRINGIFY(F_SEAL_SEAL)
      21   XLAT(F_SEAL_SHRINK),
      22   #define XLAT_VAL_1 ((unsigned) (F_SEAL_SHRINK))
      23   #define XLAT_STR_1 STRINGIFY(F_SEAL_SHRINK)
      24   XLAT(F_SEAL_GROW),
      25   #define XLAT_VAL_2 ((unsigned) (F_SEAL_GROW))
      26   #define XLAT_STR_2 STRINGIFY(F_SEAL_GROW)
      27   XLAT(F_SEAL_WRITE),
      28   #define XLAT_VAL_3 ((unsigned) (F_SEAL_WRITE))
      29   #define XLAT_STR_3 STRINGIFY(F_SEAL_WRITE)
      30   XLAT(F_SEAL_FUTURE_WRITE),
      31   #define XLAT_VAL_4 ((unsigned) (F_SEAL_FUTURE_WRITE))
      32   #define XLAT_STR_4 STRINGIFY(F_SEAL_FUTURE_WRITE)
      33   XLAT(F_SEAL_EXEC),
      34   #define XLAT_VAL_5 ((unsigned) (F_SEAL_EXEC))
      35   #define XLAT_STR_5 STRINGIFY(F_SEAL_EXEC)
      36  };
      37  static
      38  const struct xlat f_seals[1] = { {
      39   .data = f_seals_xdata,
      40   .size = ARRAY_SIZE(f_seals_xdata),
      41   .type = XT_NORMAL,
      42   .flags_mask = 0
      43  #  ifdef XLAT_VAL_0
      44    | XLAT_VAL_0
      45  #  endif
      46  #  ifdef XLAT_VAL_1
      47    | XLAT_VAL_1
      48  #  endif
      49  #  ifdef XLAT_VAL_2
      50    | XLAT_VAL_2
      51  #  endif
      52  #  ifdef XLAT_VAL_3
      53    | XLAT_VAL_3
      54  #  endif
      55  #  ifdef XLAT_VAL_4
      56    | XLAT_VAL_4
      57  #  endif
      58  #  ifdef XLAT_VAL_5
      59    | XLAT_VAL_5
      60  #  endif
      61    ,
      62   .flags_strsz = 0
      63  #  ifdef XLAT_STR_0
      64    + sizeof(XLAT_STR_0)
      65  #  endif
      66  #  ifdef XLAT_STR_1
      67    + sizeof(XLAT_STR_1)
      68  #  endif
      69  #  ifdef XLAT_STR_2
      70    + sizeof(XLAT_STR_2)
      71  #  endif
      72  #  ifdef XLAT_STR_3
      73    + sizeof(XLAT_STR_3)
      74  #  endif
      75  #  ifdef XLAT_STR_4
      76    + sizeof(XLAT_STR_4)
      77  #  endif
      78  #  ifdef XLAT_STR_5
      79    + sizeof(XLAT_STR_5)
      80  #  endif
      81    ,
      82  } };
      83  DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
      84  
      85  #  undef XLAT_STR_0
      86  #  undef XLAT_VAL_0
      87  #  undef XLAT_STR_1
      88  #  undef XLAT_VAL_1
      89  #  undef XLAT_STR_2
      90  #  undef XLAT_VAL_2
      91  #  undef XLAT_STR_3
      92  #  undef XLAT_VAL_3
      93  #  undef XLAT_STR_4
      94  #  undef XLAT_VAL_4
      95  #  undef XLAT_STR_5
      96  #  undef XLAT_VAL_5
      97  # endif /* !IN_MPERS */
      98  
      99  #endif /* !XLAT_MACROS_ONLY */