[CRIU] [PATCH] restorer: Use of CR_RLIM_NLIMITS for resource allocation

Pavel Emelyanov xemul at parallels.com
Mon Jul 8 09:42:46 EDT 2013


On 07/02/2013 04:29 PM, Cyrill Gorcunov wrote:
> rhel6 has RLIM_NLIMITS defined to 15, while modern
> kernels increased this value to 16 (this value
> comes from glibc-headers-2.12-1.80.el6.x86_64
> package) -- so use own definition for resource
> array allocation thus even being compiled on
> rhel6 criu would be able to proceed c/r.
> 
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>

I've pushed some new patches to master. Plz, find the "memory allocation
for rst blob" and rework this patch to restore as many resources, as there's
in the image.


More information about the CRIU mailing list