• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* Generated by ./xlat/gen.sh from ./xlat/setns_types.in; do not edit. */
2 #if !(defined(CLONE_NEWNS) || (defined(HAVE_DECL_CLONE_NEWNS) && HAVE_DECL_CLONE_NEWNS))
3 # define CLONE_NEWNS 0x00020000
4 #endif
5 #if !(defined(CLONE_NEWCGROUP) || (defined(HAVE_DECL_CLONE_NEWCGROUP) && HAVE_DECL_CLONE_NEWCGROUP))
6 # define CLONE_NEWCGROUP 0x02000000
7 #endif
8 #if !(defined(CLONE_NEWUTS) || (defined(HAVE_DECL_CLONE_NEWUTS) && HAVE_DECL_CLONE_NEWUTS))
9 # define CLONE_NEWUTS 0x04000000
10 #endif
11 #if !(defined(CLONE_NEWIPC) || (defined(HAVE_DECL_CLONE_NEWIPC) && HAVE_DECL_CLONE_NEWIPC))
12 # define CLONE_NEWIPC 0x08000000
13 #endif
14 #if !(defined(CLONE_NEWUSER) || (defined(HAVE_DECL_CLONE_NEWUSER) && HAVE_DECL_CLONE_NEWUSER))
15 # define CLONE_NEWUSER 0x10000000
16 #endif
17 #if !(defined(CLONE_NEWPID) || (defined(HAVE_DECL_CLONE_NEWPID) && HAVE_DECL_CLONE_NEWPID))
18 # define CLONE_NEWPID 0x20000000
19 #endif
20 #if !(defined(CLONE_NEWNET) || (defined(HAVE_DECL_CLONE_NEWNET) && HAVE_DECL_CLONE_NEWNET))
21 # define CLONE_NEWNET 0x40000000
22 #endif
23 
24 #ifdef IN_MPERS
25 
26 # error static const struct xlat setns_types in mpers mode
27 
28 #else
29 
30 static
31 const struct xlat setns_types[] = {
32  XLAT(0),
33  XLAT(CLONE_NEWNS),
34  XLAT(CLONE_NEWCGROUP),
35  XLAT(CLONE_NEWUTS),
36  XLAT(CLONE_NEWIPC),
37  XLAT(CLONE_NEWUSER),
38  XLAT(CLONE_NEWPID),
39  XLAT(CLONE_NEWNET),
40  XLAT_END
41 };
42 
43 #endif /* !IN_MPERS */
44