Skip to content
Commit 748be831 authored by Pavel Emelyanov's avatar Pavel Emelyanov
Browse files

cr: Support rlimits



Dump the with "new" prlimit syscall that works on arbitrary pid.

Restore is done in restorer _after_ mappings mixup and _before_
caps drop to make it set any max value.

The RLIM_INFINITY is handled explicitly to help future 64<->32
bits migration.

Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent d2b3a26b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment