Home | History | Annotate | Download | only in xlat
      1 /* Generated by ./xlat/gen.sh from ./xlat/personality_flags.in; do not edit. */
      2 #if !(defined(UNAME26) || (defined(HAVE_DECL_UNAME26) && HAVE_DECL_UNAME26))
      3 # define UNAME26 0x0020000
      4 #endif
      5 #if !(defined(ADDR_NO_RANDOMIZE) || (defined(HAVE_DECL_ADDR_NO_RANDOMIZE) && HAVE_DECL_ADDR_NO_RANDOMIZE))
      6 # define ADDR_NO_RANDOMIZE 0x0040000
      7 #endif
      8 #if !(defined(FDPIC_FUNCPTRS) || (defined(HAVE_DECL_FDPIC_FUNCPTRS) && HAVE_DECL_FDPIC_FUNCPTRS))
      9 # define FDPIC_FUNCPTRS 0x0080000
     10 #endif
     11 #if !(defined(MMAP_PAGE_ZERO) || (defined(HAVE_DECL_MMAP_PAGE_ZERO) && HAVE_DECL_MMAP_PAGE_ZERO))
     12 # define MMAP_PAGE_ZERO 0x0100000
     13 #endif
     14 #if !(defined(ADDR_COMPAT_LAYOUT) || (defined(HAVE_DECL_ADDR_COMPAT_LAYOUT) && HAVE_DECL_ADDR_COMPAT_LAYOUT))
     15 # define ADDR_COMPAT_LAYOUT 0x0200000
     16 #endif
     17 #if !(defined(READ_IMPLIES_EXEC) || (defined(HAVE_DECL_READ_IMPLIES_EXEC) && HAVE_DECL_READ_IMPLIES_EXEC))
     18 # define READ_IMPLIES_EXEC 0x0400000
     19 #endif
     20 #if !(defined(ADDR_LIMIT_32BIT) || (defined(HAVE_DECL_ADDR_LIMIT_32BIT) && HAVE_DECL_ADDR_LIMIT_32BIT))
     21 # define ADDR_LIMIT_32BIT 0x0800000
     22 #endif
     23 #if !(defined(SHORT_INODE) || (defined(HAVE_DECL_SHORT_INODE) && HAVE_DECL_SHORT_INODE))
     24 # define SHORT_INODE 0x1000000
     25 #endif
     26 #if !(defined(WHOLE_SECONDS) || (defined(HAVE_DECL_WHOLE_SECONDS) && HAVE_DECL_WHOLE_SECONDS))
     27 # define WHOLE_SECONDS 0x2000000
     28 #endif
     29 #if !(defined(STICKY_TIMEOUTS) || (defined(HAVE_DECL_STICKY_TIMEOUTS) && HAVE_DECL_STICKY_TIMEOUTS))
     30 # define STICKY_TIMEOUTS 0x4000000
     31 #endif
     32 #if !(defined(ADDR_LIMIT_3GB) || (defined(HAVE_DECL_ADDR_LIMIT_3GB) && HAVE_DECL_ADDR_LIMIT_3GB))
     33 # define ADDR_LIMIT_3GB 0x8000000
     34 #endif
     35 
     36 #ifdef IN_MPERS
     37 
     38 # error static const struct xlat personality_flags in mpers mode
     39 
     40 #else
     41 
     42 static
     43 const struct xlat personality_flags[] = {
     44  XLAT(UNAME26),
     45  XLAT(ADDR_NO_RANDOMIZE),
     46  XLAT(FDPIC_FUNCPTRS),
     47  XLAT(MMAP_PAGE_ZERO),
     48  XLAT(ADDR_COMPAT_LAYOUT),
     49  XLAT(READ_IMPLIES_EXEC),
     50  XLAT(ADDR_LIMIT_32BIT),
     51  XLAT(SHORT_INODE),
     52  XLAT(WHOLE_SECONDS),
     53  XLAT(STICKY_TIMEOUTS),
     54  XLAT(ADDR_LIMIT_3GB),
     55  XLAT_END
     56 };
     57 
     58 #endif /* !IN_MPERS */
     59