• Andrey Vagin's avatar
    zdtm: prepare a file tree for userns · 0014a12d
    Andrey Vagin authored
    Here are two issues:
    1. All mounts in a new user namespace are locked, so
    we need to create a new root mount. We need to bind-mount root to
    itself.
    2. /proc and /sys must be mounted before umounting /proc and /sys
    which were inhereted. It's a security policy.
    
    """
    Author: Eric W. Biederman <ebiederm@xmission.com>
    Date:   Sun Mar 24 14:28:27 2013 -0700
    
        userns: Restrict when proc and sysfs can be mounted
    
        Only allow unprivileged mounts of proc and sysfs if they are already
        mounted when the user namespace is created.
    """
    Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
    Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
    0014a12d
Name
Last commit
Last update
..
app-emu Loading commit data...
bers Loading commit data...
ext-links Loading commit data...
fault-injection Loading commit data...
jenkins Loading commit data...
libcriu Loading commit data...
mem-snap Loading commit data...
mounts Loading commit data...
rpc Loading commit data...
security Loading commit data...
tcp Loading commit data...
unix-callback Loading commit data...
zdtm Loading commit data...
.gitignore Loading commit data...
Makefile Loading commit data...
app-emu.sh Loading commit data...
env.sh Loading commit data...
functions.sh Loading commit data...
maps.py Loading commit data...
post-dump.sh Loading commit data...
zdtm.sh Loading commit data...
zdtm_ct.c Loading commit data...
zdtm_mount_cgroups Loading commit data...