foniod / redbpf

Rust library for building and running BPF/eBPF modules
Apache License 2.0
1.71k stars 136 forks source link

Set memlock rlimit to unlimited #167

Closed rhdxmr closed 3 years ago

rhdxmr commented 3 years ago

If it is failed to load a BPF program or map and errno is EPERM, set memlock rlimit to unlimited value.

Signed-off-by: Junyeong Jeong rhdxmr@gmail.com

This resolves #146