blob: b65c35a97d88e747cb1081ba7309d6ed0433b5b2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
Walk through personality flags on 32-bit and 64-bit and ensure correct behaviour
Not sure exactly how much this matters but we should double check it.
Flags to support:
- UNAME26
- Needs emulation
- ADDR_NO_RANDOMIZE
- Already handled in ELFCodeLoader
- FDPIC_FUNCPTRS
- nop on x86
- MMAP_PAGE_ZERO
- Allowed but doesn't do anything on x86
- ADDR_COMPAT_LAYOUT
- Changes allocation to BottomUp instead of top-down
- Would need emulation
- READ_IMPLIES_EXEC
- Needs NX support, which we don't have currently
- ADDR_LIMIT_32BIT
- nop on x86
- SHORT_INODE
- nop
- WHOLE_SECONDS
- nop
- STICKY_TIMEOUTS
- Causes select, pselect, and ppoll to not modify timeout on signal handler interrupt.
- Passthrough to host kernel makes FEX impl a nop.
- ADDR_LIMIT_3GB
- Changes the upper limit on mmap from 0xffff_e000 to 0xc000_0000 for 32-bit processes
- Needs emulation
Personalities:
- PER_LINUX32
- Changes uname result
- Needs emulation
- PER_SVR4/3
- PER_SCOSVR3/PER_OSR5
- PER_WYSEV386
- PER_ISCR4
- PER_BSD
- PER_SUNOS
- PER_XENIX
- PER_IRIX32
- PER_IRIXN32
- PER_IRIX64
- PER_RISCOS
- PER_SOLARIS
- PER_UW7
- PER_OSF4
- PER_HPUX
- nop
|