1 /* Generated by ./xlat/gen.sh from ./xlat/shm_flags.in; do not edit. */ 2 #if !(defined(SHM_EXEC) || (defined(HAVE_DECL_SHM_EXEC) && HAVE_DECL_SHM_EXEC)) 3 # define SHM_EXEC 0100000 4 #endif 5 6 #ifdef IN_MPERS 7 8 # error static const struct xlat shm_flags in mpers mode 9 10 #else 11 12 static 13 const struct xlat shm_flags[] = { 14 #if defined(SHM_RDONLY) || (defined(HAVE_DECL_SHM_RDONLY) && HAVE_DECL_SHM_RDONLY) 15 XLAT(SHM_RDONLY), 16 #endif 17 #if defined(SHM_RND) || (defined(HAVE_DECL_SHM_RND) && HAVE_DECL_SHM_RND) 18 XLAT(SHM_RND), 19 #endif 20 #if defined(SHM_REMAP) || (defined(HAVE_DECL_SHM_REMAP) && HAVE_DECL_SHM_REMAP) 21 XLAT(SHM_REMAP), 22 #endif 23 XLAT(SHM_EXEC), 24 XLAT_END 25 }; 26 27 #endif /* !IN_MPERS */ 28