Skip to content
#

libbpf

Here are 14 public repositories matching this topic...

anakryiko
anakryiko commented Aug 18, 2021

Almost every single BPF application out there has to implement bumping RLIMIT_MEMLOCK. What's worse, starting from some recent kernel version, RLIMIT_MEMLOCK is not necessary anymore for loading BPF programs and maps. Instead of asking all users to implement this detection logic and RLIMIT_MEMLOCK adjustment, do a sensible thing automatically:

  • on older kernels, bump RLIMIT_MEMLOCK to infinity

Improve this page

Add a description, image, and links to the libbpf topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the libbpf topic, visit your repo's landing page and select "manage topics."

Learn more