• Pavel Emelyanov's avatar
    cr: Support rlimits · 748be831
    Pavel Emelyanov authored
    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: 's avatarPavel Emelyanov <xemul@parallels.com>
    748be831
rlimit.proto 79 Bytes