Libbpf userspace function libbpf_set_memlock_rlim
Set the
Definition
int libbpf_set_memlock_rlim(size_t memlock_bytes);
Parameters
memlock_bytes
: the number of bytes to set thememlock resource limit to.
Return
0
, on success; <0
, on error.
Usage
See resource limit concept page for more information.
Example
Docs could be improved
This part of the docs is incomplete, contributions are very welcome