summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2023-05-25 15:13:10 -0700
committerDaniel Borkmann <daniel@iogearbox.net>2023-05-26 12:05:32 +0200
commit59842c5451fe830737600276ba9dee4595341d77 (patch)
treef40ea00ac329a8684ab22cdcb9451cc4dcc0b8da /tools/perf/scripts/python/task-analyzer.py
parent321a64b328156fd43d3be589c24905a641c7995b (diff)
libbpf: Ensure libbpf always opens files with O_CLOEXEC
Make sure that libbpf code always gets FD with O_CLOEXEC flag set, regardless if file is open through open() or fopen(). For the latter this means to add "e" to mode string, which is supported since pretty ancient glibc v2.7. Also drop the outdated TODO comment in usdt.c, which was already completed. Suggested-by: Lennart Poettering <lennart@poettering.net> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20230525221311.2136408-1-andrii@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions