[CRIU] [PATCH 0/3] ns procfs handling, v1
Pavel Emelyanov
xemul at parallels.com
Tue Apr 30 15:10:21 EDT 2013
On 04/29/2013 08:19 PM, Cyrill Gorcunov wrote:
> Hi guys, here is what I have in mind as initial support
> for /proc/self/ns/$enty opened files.
>
> It's rfc, any comments are higly appreciated!
>
> .
>
This is how this should be done.
1. When you meet ns/foo file, you should get the respective namespace
type and ID (via get_ns_id)
2. Introduce new fdinfo type FDINFO__NS_FILE, dump type:id pair into
separate image file
3. On restore get any task with matching namespace ID and open one
Thanks,
Pavel
More information about the CRIU
mailing list