[CRIU] [PATCH 21/23] restorer: wrapped the syscall sys_setrlimit

Pavel Emelyanov xemul at parallels.com
Tue Jan 15 11:56:38 EST 2013


On 01/15/2013 08:55 PM, Alexander Kartashov wrote:
> On 01/14/2013 02:44 PM, Pavel Emelyanov wrote:
>> Brr... OK. Then there's not need in arch_setrlimit. Just redeclare
>> the struct rlimit all over the code into strictly defined one.
> 
> I'm afraid it's not possible since we dump rlimits using the library call
> prlimit() so we must not change the size of the struct prlimit here.

If we dump rlimits with library call, why doesn't this library works on arm?

> I propose to use the type krlimit that matches the kernel version
> of the struct rlimit for the field task_restore_core_args::rlims.
> 




More information about the CRIU mailing list