On Tue, Jul 25, 2017 at 10:26:17AM -0700, Andrey Vagin wrote:
> 
> ^^^ It is incorrect. We want to check that a parent task lives in this
> same mount namespace.
> 
> The code has to be something like this:
> 
>                       if (next->ids == NULL) /* helper or zombie */
>                               break;
> 
>                       if (id == next->ids->mnt_ns_id)
>                               return 0;
> 
> Or it may be better to set ids for such tasks.

v2 has been merged, which addressed this problem.
_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to