Skip to content
Commit aa26237e authored by Andrei Vagin's avatar Andrei Vagin
Browse files

tty: check that a master of a bind-mounted slave is in the root mntns



Here we check that a master of a bind-mounted slave was opened in the
root mount namespace. The problem is that we restore all mounts in the
root mount namespace. Only when all mounts are restored, we create other
mount namespaces.  So when we are restoring mounts, we can open files
only in the root mount namespace.

Signed-off-by: default avatarAndrei Vagin <avagin@virtuozzo.com>
parent b6f75771
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment