Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(111)

Side by Side Diff: fusl/include/sys/personality.h

Issue 1714623002: [fusl] clang-format fusl (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: headers too Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 #ifndef _PERSONALITY_H 1 #ifndef _PERSONALITY_H
2 #define _PERSONALITY_H 2 #define _PERSONALITY_H
3 3
4 #ifdef __cplusplus 4 #ifdef __cplusplus
5 extern "C" { 5 extern "C" {
6 #endif 6 #endif
7 7
8 #define ADDR_NO_RANDOMIZE 0x0040000 8 #define ADDR_NO_RANDOMIZE 0x0040000
9 #define MMAP_PAGE_ZERO 0x0100000 9 #define MMAP_PAGE_ZERO 0x0100000
10 #define ADDR_COMPAT_LAYOUT 0x0200000 10 #define ADDR_COMPAT_LAYOUT 0x0200000
11 #define READ_IMPLIES_EXEC 0x0400000 11 #define READ_IMPLIES_EXEC 0x0400000
12 #define ADDR_LIMIT_32BIT 0x0800000 12 #define ADDR_LIMIT_32BIT 0x0800000
13 #define SHORT_INODE 0x1000000 13 #define SHORT_INODE 0x1000000
14 #define WHOLE_SECONDS 0x2000000 14 #define WHOLE_SECONDS 0x2000000
15 #define STICKY_TIMEOUTS 0x4000000 15 #define STICKY_TIMEOUTS 0x4000000
16 #define ADDR_LIMIT_3GB 0x8000000 16 #define ADDR_LIMIT_3GB 0x8000000
17 17
18 #define PER_LINUX 0 18 #define PER_LINUX 0
19 #define PER_LINUX_32BIT ADDR_LIMIT_32BIT 19 #define PER_LINUX_32BIT ADDR_LIMIT_32BIT
20 #define PER_SVR4 (1 | STICKY_TIMEOUTS | MMAP_PAGE_ZERO) 20 #define PER_SVR4 (1 | STICKY_TIMEOUTS | MMAP_PAGE_ZERO)
21 #define PER_SVR3 (2 | STICKY_TIMEOUTS | SHORT_INODE) 21 #define PER_SVR3 (2 | STICKY_TIMEOUTS | SHORT_INODE)
22 #define PER_SCOSVR3 (3 | STICKY_TIMEOUTS | WHOLE_SECONDS | SHORT_INODE) 22 #define PER_SCOSVR3 (3 | STICKY_TIMEOUTS | WHOLE_SECONDS | SHORT_INODE)
23 #define PER_OSR5 (3 | STICKY_TIMEOUTS | WHOLE_SECONDS) 23 #define PER_OSR5 (3 | STICKY_TIMEOUTS | WHOLE_SECONDS)
24 #define PER_WYSEV386 (4 | STICKY_TIMEOUTS | SHORT_INODE) 24 #define PER_WYSEV386 (4 | STICKY_TIMEOUTS | SHORT_INODE)
25 #define PER_ISCR4 (5 | STICKY_TIMEOUTS) 25 #define PER_ISCR4 (5 | STICKY_TIMEOUTS)
26 #define PER_BSD 6 26 #define PER_BSD 6
(...skipping 10 matching lines...) Expand all
37 #define PER_OSF4 0xf 37 #define PER_OSF4 0xf
38 #define PER_HPUX 0x10 38 #define PER_HPUX 0x10
39 #define PER_MASK 0xff 39 #define PER_MASK 0xff
40 40
41 int personality(unsigned long); 41 int personality(unsigned long);
42 42
43 #ifdef __cplusplus 43 #ifdef __cplusplus
44 } 44 }
45 #endif 45 #endif
46 #endif 46 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698