[CRIU] [PATCH 21/23] restorer: wrapped the syscall sys_setrlimit
Alexander Kartashov
alekskartashov at parallels.com
Tue Jan 15 11:55:26 EST 2013
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.
I propose to use the type krlimit that matches the kernel version
of the struct rlimit for the field task_restore_core_args::rlims.
--
Sincerely yours,
Alexander Kartashov
Intern
Core team
www.parallels.com
Skype: aleksandr.kartashov
Email: alekskartashov at parallels.com
More information about the CRIU
mailing list