-
Alexander Kartashov authored
The layout of the struct rlimit depends on the value of the macro FILE_OFFSET_BITS. If FILE_OFFSET_BITS is 64 the userspace and kernel definitions becomes incoherent on a 32-bit platform. The struct krlimit representing the kernel version of the struct rlimit is introduced to address the issue: the function restore_rlims() is fixed to convert between the userspace and kernel representations of the struct. Signed-off-by:
Alexander Kartashov <alekskartashov@parallels.com> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
7997f673
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
Makefile | ||
gen-offsets.sh | ||
log-simple.c | ||
parasite.c | ||
pie.lds.S.in | ||
restorer.c |