1 /* Generated by ./xlat/gen.sh from ./xlat/clone_flags.in; do not edit. */
2 #if !(defined(CLONE_VM) || (defined(HAVE_DECL_CLONE_VM) && HAVE_DECL_CLONE_VM))
3 # define CLONE_VM 0x00000100
4 #endif
5 #if !(defined(CLONE_FS) || (defined(HAVE_DECL_CLONE_FS) && HAVE_DECL_CLONE_FS))
6 # define CLONE_FS 0x00000200
7 #endif
8 #if !(defined(CLONE_FILES) || (defined(HAVE_DECL_CLONE_FILES) && HAVE_DECL_CLONE_FILES))
9 # define CLONE_FILES 0x00000400
10 #endif
11 #if !(defined(CLONE_SIGHAND) || (defined(HAVE_DECL_CLONE_SIGHAND) && HAVE_DECL_CLONE_SIGHAND))
12 # define CLONE_SIGHAND 0x00000800
13 #endif
14 #if !(defined(CLONE_IDLETASK) || (defined(HAVE_DECL_CLONE_IDLETASK) && HAVE_DECL_CLONE_IDLETASK))
15 # define CLONE_IDLETASK 0x00001000
16 #endif
17 #if !(defined(CLONE_PTRACE) || (defined(HAVE_DECL_CLONE_PTRACE) && HAVE_DECL_CLONE_PTRACE))
18 # define CLONE_PTRACE 0x00002000
19 #endif
20 #if !(defined(CLONE_VFORK) || (defined(HAVE_DECL_CLONE_VFORK) && HAVE_DECL_CLONE_VFORK))
21 # define CLONE_VFORK 0x00004000
22 #endif
23 #if !(defined(CLONE_PARENT) || (defined(HAVE_DECL_CLONE_PARENT) && HAVE_DECL_CLONE_PARENT))
24 # define CLONE_PARENT 0x00008000
25 #endif
26 #if !(defined(CLONE_THREAD) || (defined(HAVE_DECL_CLONE_THREAD) && HAVE_DECL_CLONE_THREAD))
27 # define CLONE_THREAD 0x00010000
28 #endif
29 #if !(defined(CLONE_NEWNS) || (defined(HAVE_DECL_CLONE_NEWNS) && HAVE_DECL_CLONE_NEWNS))
30 # define CLONE_NEWNS 0x00020000
31 #endif
32 #if !(defined(CLONE_SYSVSEM) || (defined(HAVE_DECL_CLONE_SYSVSEM) && HAVE_DECL_CLONE_SYSVSEM))
33 # define CLONE_SYSVSEM 0x00040000
34 #endif
35 #if !(defined(CLONE_SETTLS) || (defined(HAVE_DECL_CLONE_SETTLS) && HAVE_DECL_CLONE_SETTLS))
36 # define CLONE_SETTLS 0x00080000
37 #endif
38 #if !(defined(CLONE_PARENT_SETTID) || (defined(HAVE_DECL_CLONE_PARENT_SETTID) && HAVE_DECL_CLONE_PARENT_SETTID))
39 # define CLONE_PARENT_SETTID 0x00100000
40 #endif
41 #if !(defined(CLONE_CHILD_CLEARTID) || (defined(HAVE_DECL_CLONE_CHILD_CLEARTID) && HAVE_DECL_CLONE_CHILD_CLEARTID))
42 # define CLONE_CHILD_CLEARTID 0x00200000
43 #endif
44 #if !(defined(CLONE_UNTRACED) || (defined(HAVE_DECL_CLONE_UNTRACED) && HAVE_DECL_CLONE_UNTRACED))
45 # define CLONE_UNTRACED 0x00800000
46 #endif
47 #if !(defined(CLONE_CHILD_SETTID) || (defined(HAVE_DECL_CLONE_CHILD_SETTID) && HAVE_DECL_CLONE_CHILD_SETTID))
48 # define CLONE_CHILD_SETTID 0x01000000
49 #endif
50 #if !(defined(CLONE_STOPPED) || (defined(HAVE_DECL_CLONE_STOPPED) && HAVE_DECL_CLONE_STOPPED))
51 # define CLONE_STOPPED 0x02000000
52 #endif
53 #if !(defined(CLONE_NEWUTS) || (defined(HAVE_DECL_CLONE_NEWUTS) && HAVE_DECL_CLONE_NEWUTS))
54 # define CLONE_NEWUTS 0x04000000
55 #endif
56 #if !(defined(CLONE_NEWIPC) || (defined(HAVE_DECL_CLONE_NEWIPC) && HAVE_DECL_CLONE_NEWIPC))
57 # define CLONE_NEWIPC 0x08000000
58 #endif
59 #if !(defined(CLONE_NEWUSER) || (defined(HAVE_DECL_CLONE_NEWUSER) && HAVE_DECL_CLONE_NEWUSER))
60 # define CLONE_NEWUSER 0x10000000
61 #endif
62 #if !(defined(CLONE_NEWPID) || (defined(HAVE_DECL_CLONE_NEWPID) && HAVE_DECL_CLONE_NEWPID))
63 # define CLONE_NEWPID 0x20000000
64 #endif
65 #if !(defined(CLONE_NEWNET) || (defined(HAVE_DECL_CLONE_NEWNET) && HAVE_DECL_CLONE_NEWNET))
66 # define CLONE_NEWNET 0x40000000
67 #endif
68 #if !(defined(CLONE_IO) || (defined(HAVE_DECL_CLONE_IO) && HAVE_DECL_CLONE_IO))
69 # define CLONE_IO 0x80000000
70 #endif
71 
72 #ifdef IN_MPERS
73 
74 # error static const struct xlat clone_flags in mpers mode
75 
76 #else
77 
78 static
79 const struct xlat clone_flags[] = {
80  XLAT(CLONE_VM),
81  XLAT(CLONE_FS),
82  XLAT(CLONE_FILES),
83  XLAT(CLONE_SIGHAND),
84  XLAT(CLONE_IDLETASK),
85  XLAT(CLONE_PTRACE),
86  XLAT(CLONE_VFORK),
87  XLAT(CLONE_PARENT),
88  XLAT(CLONE_THREAD),
89  XLAT(CLONE_NEWNS),
90  XLAT(CLONE_SYSVSEM),
91  XLAT(CLONE_SETTLS),
92  XLAT(CLONE_PARENT_SETTID),
93  XLAT(CLONE_CHILD_CLEARTID),
94  XLAT(CLONE_UNTRACED),
95  XLAT(CLONE_CHILD_SETTID),
96  XLAT(CLONE_STOPPED),
97  XLAT(CLONE_NEWUTS),
98  XLAT(CLONE_NEWIPC),
99  XLAT(CLONE_NEWUSER),
100  XLAT(CLONE_NEWPID),
101  XLAT(CLONE_NEWNET),
102  XLAT(CLONE_IO),
103  XLAT_END
104 };
105 
106 #endif /* !IN_MPERS */
107