Re: [RFC][PATCH] rbind across namespaces
From: Miklos Szeredi
Date: Mon May 23 2005 - 03:26:38 EST
> yes done. enclosed the patch.
>
> But seems like this patch opens up questions like:
>
> Should mounts/umounts/remounts/pivot_root in foreign namespaces
> be allowed?
I think yes.
Moving a subtree to a different namespace is a bit tricky so maybe
move should still be restricted to be within a single namespace.
And I think we should relax the checks under /proc, to allow proper
access to foreign namespaces as far as it doesn't impact security.
E.g. it makes sense to allow a process to access /proc/self/fd/XXX
even if XXX resides in a different namespace. Currently that is not
allowed.
Miklos
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/