Home | History | Annotate | Download | only in xlat
      1 /* Generated by ./xlat/gen.sh from ./xlat/unshare_flags.in; do not edit. */
      2 
      3 #include "gcc_compat.h"
      4 #include "static_assert.h"
      5 
      6 
      7 #ifndef XLAT_MACROS_ONLY
      8 
      9 # ifdef IN_MPERS
     10 
     11 #  error static const struct xlat unshare_flags in mpers mode
     12 
     13 # else
     14 
     15 static
     16 const struct xlat unshare_flags[] = {
     17 #if defined(CLONE_THREAD) || (defined(HAVE_DECL_CLONE_THREAD) && HAVE_DECL_CLONE_THREAD)
     18   XLAT(CLONE_THREAD),
     19 #endif
     20 #if defined(CLONE_FS) || (defined(HAVE_DECL_CLONE_FS) && HAVE_DECL_CLONE_FS)
     21   XLAT(CLONE_FS),
     22 #endif
     23 #if defined(CLONE_NEWNS) || (defined(HAVE_DECL_CLONE_NEWNS) && HAVE_DECL_CLONE_NEWNS)
     24   XLAT(CLONE_NEWNS),
     25 #endif
     26 #if defined(CLONE_SIGHAND) || (defined(HAVE_DECL_CLONE_SIGHAND) && HAVE_DECL_CLONE_SIGHAND)
     27   XLAT(CLONE_SIGHAND),
     28 #endif
     29 #if defined(CLONE_VM) || (defined(HAVE_DECL_CLONE_VM) && HAVE_DECL_CLONE_VM)
     30   XLAT(CLONE_VM),
     31 #endif
     32 #if defined(CLONE_FILES) || (defined(HAVE_DECL_CLONE_FILES) && HAVE_DECL_CLONE_FILES)
     33   XLAT(CLONE_FILES),
     34 #endif
     35 #if defined(CLONE_SYSVSEM) || (defined(HAVE_DECL_CLONE_SYSVSEM) && HAVE_DECL_CLONE_SYSVSEM)
     36   XLAT(CLONE_SYSVSEM),
     37 #endif
     38 #if defined(CLONE_NEWUTS) || (defined(HAVE_DECL_CLONE_NEWUTS) && HAVE_DECL_CLONE_NEWUTS)
     39   XLAT(CLONE_NEWUTS),
     40 #endif
     41 #if defined(CLONE_NEWIPC) || (defined(HAVE_DECL_CLONE_NEWIPC) && HAVE_DECL_CLONE_NEWIPC)
     42   XLAT(CLONE_NEWIPC),
     43 #endif
     44 #if defined(CLONE_NEWNET) || (defined(HAVE_DECL_CLONE_NEWNET) && HAVE_DECL_CLONE_NEWNET)
     45   XLAT(CLONE_NEWNET),
     46 #endif
     47 #if defined(CLONE_NEWUSER) || (defined(HAVE_DECL_CLONE_NEWUSER) && HAVE_DECL_CLONE_NEWUSER)
     48   XLAT(CLONE_NEWUSER),
     49 #endif
     50 #if defined(CLONE_NEWPID) || (defined(HAVE_DECL_CLONE_NEWPID) && HAVE_DECL_CLONE_NEWPID)
     51   XLAT(CLONE_NEWPID),
     52 #endif
     53 #if defined(CLONE_NEWCGROUP) || (defined(HAVE_DECL_CLONE_NEWCGROUP) && HAVE_DECL_CLONE_NEWCGROUP)
     54   XLAT(CLONE_NEWCGROUP),
     55 #endif
     56  XLAT_END
     57 };
     58 
     59 # endif /* !IN_MPERS */
     60 
     61 #endif /* !XLAT_MACROS_ONLY */
     62