• 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 #ifndef IN_MPERS
25 
26 const struct xlat setns_types[] = {
27  XLAT(0),
28  XLAT(CLONE_NEWNS),
29  XLAT(CLONE_NEWCGROUP),
30  XLAT(CLONE_NEWUTS),
31  XLAT(CLONE_NEWIPC),
32  XLAT(CLONE_NEWUSER),
33  XLAT(CLONE_NEWPID),
34  XLAT(CLONE_NEWNET),
35  XLAT_END
36 };
37 
38 #endif /* !IN_MPERS */
39