[CRIU] [PATCH 5/6] files: Add c/r for /proc/$pid/ns/$ids references

Cyrill Gorcunov gorcunov at openvz.org
Tue May 14 17:28:52 EDT 2013


On Wed, May 15, 2013 at 01:18:11AM +0400, Pavel Emelyanov wrote:
> >>
> >> entry->d points somewhere into the ns_desc_array. What coincidence of circumstances
> >> can lead to this default: case to occur?
> > 
> > If we got reference to proc/ns/user. We dont support it yet, 
> 
> Why? What's wrong with it?

I didn't looked that much on this stage, all I wanted is to keep
exsiting functionality at least until the issue with ns procfs
file opened. Once it works we can extend everything else.

> > it's valid reference our engine can parse and provide us back a pointer
> > to array. As only we support it -- we simply drop this case. Another
> > potential problem -- someone extend array of namspaces but forget to
> 
> Then we kick this guy's ass.

It will be late, when program got crashed ;)


More information about the CRIU mailing list