commit | fc0131a14cf7c72b7503fcc5b24ad5147061d882 | [log] [download] |
---|---|---|
author | Glauber Costa <glommer@parallels.com> | Mon Jul 30 10:20:29 2012 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Mon Jul 30 20:22:32 2012 +0400 |
tree | bc227dbb55bc67d983a31acd9c49242d97784108 | |
parent | 94ad92624b6b874da6de98a4fefc26e8c9a7b12d [diff] |
Implement upstream enter function Using the upstream syscall "setns", we can join the various namespaces a container have. We will join all available namespaces, that show up in /proc/<pid>/ns. Throughout the code, enter is usually called in conjunction with set_context(). We don't need any prior preparation, and will just leave it empty. [kir@: minor nitpicks] Signed-off-by: Glauber Costa <glommer@parallels.com> Signed-off-by: Kir Kolyshkin <kir@openvz.org>