Re: [Devel] [PATCH vz7-u5 v2 1/2] mount: restore_task_mnt_ns - Lookup for mount namespace conditionally

2017-07-25 Thread Andrey Vagin
On Sun, Jul 23, 2017 at 04:40:06PM +0300, Cyrill Gorcunov wrote: > In case if our parent is a dead task (zombie) we should lookup > for parent ids which will be inherited on restore. Otherwise > parent->ids may be nil and SIGSEGV produced. > > https://jira.sw.ru/browse/PSBM-68062 > > v2: > - mak

[Devel] [PATCH vz7-u5 v2 1/2] mount: restore_task_mnt_ns - Lookup for mount namespace conditionally

2017-07-23 Thread Cyrill Gorcunov
In case if our parent is a dead task (zombie) we should lookup for parent ids which will be inherited on restore. Otherwise parent->ids may be nil and SIGSEGV produced. https://jira.sw.ru/browse/PSBM-68062 v2: - make sure the ids is inherited if zombie met Signed-off-by: Cyrill Gorcunov --- c