diff options
author | Lorenz Bauer <lmb@isovalent.com> | 2025-05-20 14:01:19 +0100 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2025-05-23 10:06:28 -0700 |
commit | 3c0421c93ce4ff0f5f2612666122c34fc941d569 (patch) | |
tree | 0d58516e4141028990b198cedd2bbf6c01ce71aa /scripts/lib/kdoc/kdoc_re.py | |
parent | 828226b69ff54d57afd7b3cb56095ef8186ba290 (diff) |
libbpf: Use mmap to parse vmlinux BTF from sysfs
Teach libbpf to use mmap when parsing vmlinux BTF from /sys. We don't
apply this to fall-back paths on the regular file system because there
is no way to ensure that modifications underlying the MAP_PRIVATE
mapping are not visible to the process.
Signed-off-by: Lorenz Bauer <lmb@isovalent.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Tested-by: Alan Maguire <alan.maguire@oracle.com>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20250520-vmlinux-mmap-v5-3-e8c941acc414@isovalent.com
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions