summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorSlava Imameev <slava.imameev@crowdstrike.com>2025-06-20 18:18:11 +0300
committerAlexei Starovoitov <ast@kernel.org>2025-06-20 21:13:03 +0300
commitd32179e8c2583f1613f7bc9710612091c3c038d8 (patch)
treed14c74e2fe0292ada1a1f872b7177779cf9ac2c5 /tools/perf/scripts/python/bin/export-to-postgresql-report
parente30329b8a6476eed87460e73a29ecd718ec981e1 (diff)
downloadlinux-d32179e8c2583f1613f7bc9710612091c3c038d8.tar.xz
bpftool: Use appropriate permissions for map access
Modify several functions in tools/bpf/bpftool/common.c to allow specification of requested access for file descriptors, such as read-only access. Update bpftool to request only read access for maps when write access is not required. This fixes errors when reading from maps that are protected from modification via security_bpf_map. Signed-off-by: Slava Imameev <slava.imameev@crowdstrike.com> Reviewed-by: Quentin Monnet <qmo@kernel.org> Link: https://lore.kernel.org/r/20250620151812.13952-1-slava.imameev@crowdstrike.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions