include a copy of v1.10 increase_rlimits()