mount: create a mount point for the root mount namespace in the roots yard

Submitted by Andrei Vagin on Oct. 20, 2016, 7:06 p.m.

Details

Reviewer None
Submitted Oct. 20, 2016, 7:06 p.m.
Last Updated Oct. 21, 2016, 6:12 a.m.
Revision 1

Cover Letter

From: Andrei Vagin <avagin@virtuozzo.com>

These chnages allows us to:
* avoid difference between the root mount namespace and other mount namespaces
* support a read-only root mount
* don't create temporary directories in the root mount

Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>

Andrei Vagin (2):
  mount: create a mount point for the root mount namespace in the roots
    yard
  unix: switch into the root mount namespace before cleaning stale
    sockets

 criu/include/path.h |   5 +-
 criu/mount.c        | 205 ++++++++++------------------------------------------
 criu/sk-unix.c      |  63 +++++++++++-----
 3 files changed, 87 insertions(+), 186 deletions(-)
  

Revisions