(root)/
strace-6.5/
src/
xlat/
resource_flags.h
       1  /* Generated by ./src/xlat/gen.sh from ./src/xlat/resource_flags.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  # ifndef IN_MPERS
      11  
      12  DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
      13  static const struct xlat_data resource_flags_xdata[] = {
      14  #if defined(IPC_CREAT) || (defined(HAVE_DECL_IPC_CREAT) && HAVE_DECL_IPC_CREAT)
      15    XLAT(IPC_CREAT),
      16   #define XLAT_VAL_0 ((unsigned) (IPC_CREAT))
      17   #define XLAT_STR_0 STRINGIFY(IPC_CREAT)
      18  #endif
      19  #if defined(IPC_EXCL) || (defined(HAVE_DECL_IPC_EXCL) && HAVE_DECL_IPC_EXCL)
      20    XLAT(IPC_EXCL),
      21   #define XLAT_VAL_1 ((unsigned) (IPC_EXCL))
      22   #define XLAT_STR_1 STRINGIFY(IPC_EXCL)
      23  #endif
      24  #if defined(IPC_NOWAIT) || (defined(HAVE_DECL_IPC_NOWAIT) && HAVE_DECL_IPC_NOWAIT)
      25    XLAT(IPC_NOWAIT),
      26   #define XLAT_VAL_2 ((unsigned) (IPC_NOWAIT))
      27   #define XLAT_STR_2 STRINGIFY(IPC_NOWAIT)
      28  #endif
      29  };
      30  const struct xlat resource_flags[1] = { {
      31   .data = resource_flags_xdata,
      32   .size = ARRAY_SIZE(resource_flags_xdata),
      33   .type = XT_NORMAL,
      34   .flags_mask = 0
      35  #  ifdef XLAT_VAL_0
      36    | XLAT_VAL_0
      37  #  endif
      38  #  ifdef XLAT_VAL_1
      39    | XLAT_VAL_1
      40  #  endif
      41  #  ifdef XLAT_VAL_2
      42    | XLAT_VAL_2
      43  #  endif
      44    ,
      45   .flags_strsz = 0
      46  #  ifdef XLAT_STR_0
      47    + sizeof(XLAT_STR_0)
      48  #  endif
      49  #  ifdef XLAT_STR_1
      50    + sizeof(XLAT_STR_1)
      51  #  endif
      52  #  ifdef XLAT_STR_2
      53    + sizeof(XLAT_STR_2)
      54  #  endif
      55    ,
      56  } };
      57  DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
      58  
      59  #  undef XLAT_STR_0
      60  #  undef XLAT_VAL_0
      61  #  undef XLAT_STR_1
      62  #  undef XLAT_VAL_1
      63  #  undef XLAT_STR_2
      64  #  undef XLAT_VAL_2
      65  # endif /* !IN_MPERS */
      66  
      67  #endif /* !XLAT_MACROS_ONLY */