![]() | |||||||||||
Messages in this thread |
> I have enclosed a patch that allows rbinds across any two namespaces. > NOTE: currenly bind from foriegn namespace to current namespace is > allowed. This patch now allows: Note: you are accessing ->mnt_namespace without holding vfsmount_lock. Also why check current->namespace? It doesn't hurt to do get_namespace() even if it's not strictly needed. And it would simplify the code. In fact all uses of current->namespace and check_mnt() could be eliminated from namespace.c. The only use of ->namespace would be in copy_namespace() and exit_namespace(). Miklos - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||
| Last update: 2005-05-21 08:32 [from the cache] ©2003-2008 | |||||||||||