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 #if !(defined(MFD_HUGETLB) || (defined(HAVE_DECL_MFD_HUGETLB) && HAVE_DECL_MFD_HUGETLB))
9 # define MFD_HUGETLB 4
10 #endif
11 
12 #ifdef IN_MPERS
13 
14 # error static const struct xlat memfd_create_flags in mpers mode
15 
16 #else
17 
18 static
19 const struct xlat memfd_create_flags[] = {
20  XLAT(MFD_CLOEXEC),
21  XLAT(MFD_ALLOW_SEALING),
22  XLAT(MFD_HUGETLB),
23  XLAT_END
24 };
25 
26 #endif /* !IN_MPERS */
27