Commits
Pavel Tikhomirov authored b9c0c07526c
mount-v2: delayed nested pidns owned proc mounting Temporary remove procfs mounts owned by nested pidns from the mount tree on the first stage, we have helpers for them to restore on second stage after forking all tasks. On second stage we first mount a helper for each procfs which is visible from mntns in internal yard. Second we run a tree walk for each delayed (not yet mounted) mount in the mntns and bind-mount it into the tree either from procfs helper or mount helper from the first stage. Mounting to tree is also tricky on the second stage, because we already have all overmounts so we use resolve_mnt_path_fd and resolve_mnt_fd to access a place where we mount through proc fds. Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>