Re: [Devel] [PATCH criu 1/3] mount: Add export_mnt_ns_roots helper

2017-10-24 Thread Cyrill Gorcunov
On Mon, Oct 23, 2017 at 03:27:01PM -0700, Andrei Vagin wrote: > > + > > + dst[0] = '\0'; > > + for (nsid = ns_ids; nsid; nsid = nsid->next) { > > + if (nsid->nd != _ns_desc) > > + continue; > > + > > + len = print_ns_root(nsid, 0, p, size); > > +

Re: [Devel] [PATCH criu 1/3] mount: Add export_mnt_ns_roots helper

2017-10-23 Thread Andrei Vagin
On Thu, Oct 12, 2017 at 10:21:29AM +0300, Cyrill Gorcunov wrote: > This helper produce space separated list of > mount namespace roots which can be exported > then into environment variable. > > https://jira.sw.ru/browse/PSBM-71861 > > Signed-off-by: Cyrill Gorcunov >

Re: [Devel] [PATCH criu 1/3] mount: Add export_mnt_ns_roots helper

2017-10-23 Thread Andrei Vagin
On Thu, Oct 12, 2017 at 10:21:29AM +0300, Cyrill Gorcunov wrote: > This helper produce space separated list of > mount namespace roots which can be exported > then into environment variable. > > https://jira.sw.ru/browse/PSBM-71861 > > Signed-off-by: Cyrill Gorcunov >

[Devel] [PATCH criu 1/3] mount: Add export_mnt_ns_roots helper

2017-10-12 Thread Cyrill Gorcunov
This helper produce space separated list of mount namespace roots which can be exported then into environment variable. https://jira.sw.ru/browse/PSBM-71861 Signed-off-by: Cyrill Gorcunov --- criu/include/mount.h | 2 ++ criu/mount.c | 34