>> Index: 2.6.24-rc3-mm2/kernel/fork.c >> =================================================================== >> --- 2.6.24-rc3-mm2.orig/kernel/fork.c >> +++ 2.6.24-rc3-mm2/kernel/fork.c >> @@ -1004,6 +1004,13 @@ static struct task_struct *copy_process( >> if ((clone_flags & CLONE_SIGHAND) && !(clone_flags & CLONE_VM)) >> return ERR_PTR(-EINVAL); >> >> + /* >> + * mount namespace cannot be unshared when the mqueue >> + * namespace is not > > vice versa - mqueue namespace cannot be unshared when the mount one is not ;) arg. yes :) Thanks ! C. Signed-off-by: Cedric Le Goater <clg@xxxxxxxxxx> --- kernel/fork.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: 2.6.24-rc3-mm2/kernel/fork.c =================================================================== --- 2.6.24-rc3-mm2.orig/kernel/fork.c +++ 2.6.24-rc3-mm2/kernel/fork.c @@ -1005,7 +1005,7 @@ static struct task_struct *copy_process( return ERR_PTR(-EINVAL); /* - * mount namespace cannot be unshared when the mqueue + * mqueue namespace cannot be unshared when the mount * namespace is not */ if ((clone_flags & CLONE_NEWMQ) && !(clone_flags & CLONE_NEWNS)) _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/containers