diff options
author | Joe Burton <[email protected]> | 2022-07-29 20:27:27 +0000 |
---|---|---|
committer | Andrii Nakryiko <[email protected]> | 2022-07-29 15:30:06 -0700 |
commit | 395fc4fa33e98944384d0d6c8b3ecd9fb4b50d00 (patch) | |
tree | ca8f08c202735460a66276f9f461a3352689a1ae /tools/perf/scripts/python/mem-phys-addr.py | |
parent | d0b80a9edb1a029ff913e81b47540e57ad034329 (diff) |
libbpf: Add bpf_obj_get_opts()
Add an extensible variant of bpf_obj_get() capable of setting the
`file_flags` parameter.
This parameter is needed to enable unprivileged access to BPF maps.
Without a method like this, users must manually make the syscall.
Signed-off-by: Joe Burton <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions