Add optional code for raising the RLIMIT_MEMLOCK
Kernels before 5.11 don't use cgroup accounting, so they might reach the RLIMIT_MEMLOCK when creating maps. For that case, this change add a commented code which can be used for raising RLIMIT_MEMLOCK to RLIM_INFINITY. Signed-off-by: Michal Rostecki <vadorovsky@gmail.com>pull/53/head
parent
8c6016040e
commit
36a05bc1df
Loading…
Reference in New Issue