1 /* Generated by ./xlat/gen.sh from ./xlat/memfd_create_flags.in; do not edit. */ 2 #if !(defined(MFD_CLOEXEC) || (defined(HAVE_DECL_MFD_CLOEXEC) && HAVE_DECL_MFD_CLOEXEC)) 3 # define MFD_CLOEXEC 1 4 #endif 5 #if !(defined(MFD_ALLOW_SEALING) || (defined(HAVE_DECL_MFD_ALLOW_SEALING) && HAVE_DECL_MFD_ALLOW_SEALING)) 6 # define MFD_ALLOW_SEALING 2 7 #endif 8 9 #ifdef IN_MPERS 10 11 # error static const struct xlat memfd_create_flags in mpers mode 12 13 #else 14 15 static 16 const struct xlat memfd_create_flags[] = { 17 XLAT(MFD_CLOEXEC), 18 XLAT(MFD_ALLOW_SEALING), 19 XLAT_END 20 }; 21 22 #endif /* !IN_MPERS */ 23