aboutsummaryrefslogtreecommitdiff
path: root/xlat/memfd_create_flags.h
blob: 9b7609961f0d5cd3677099a840c9134d560e6264 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* Generated by ./xlat/gen.sh from ./xlat/memfd_create_flags.in; do not edit. */
#if !(defined(MFD_CLOEXEC) || (defined(HAVE_DECL_MFD_CLOEXEC) && HAVE_DECL_MFD_CLOEXEC))
# define MFD_CLOEXEC 1
#endif
#if !(defined(MFD_ALLOW_SEALING) || (defined(HAVE_DECL_MFD_ALLOW_SEALING) && HAVE_DECL_MFD_ALLOW_SEALING))
# define MFD_ALLOW_SEALING 2
#endif

#ifdef IN_MPERS

# error static const struct xlat memfd_create_flags in mpers mode

#else

static
const struct xlat memfd_create_flags[] = {
 XLAT(MFD_CLOEXEC),
 XLAT(MFD_ALLOW_SEALING),
 XLAT_END
};

#endif /* !IN_MPERS */