diff options
| author | Yuan Chen <chenyuan@kylinos.cn> | 2026-10-16 09:50:57 +0800 |
|---|---|---|
| committer | Daniel Borkmann <daniel@iogearbox.net> | 2026-10-16 15:27:09 +0200 |
| commit | 21c755efaab1f40c2588ae5acbfa319a6d7d3638 (patch) | |
| tree | cf1effb5a113c971530809c83e58d80d83419393 /scripts/Makefile.thinlto | |
| parent | 34d527e513c9a3f3a00f1ddf03fe06f493da14d0 (diff) | |
bpftool: Fix inverted tracefs validation when scanning /proc/mounts
The /proc/mounts fallback in get_tracefs_pipe() accepts only non-tracefs
mount points, so a tracefs mounted outside the default locations is
ignored: bpftool prog tracelog then mounts a second tracefs, or exits
silently with --nomount. Negate the condition.
Fixes: be3245e22d22 ("tools: bpftool: attempt to mount tracefs if required for tracelog cmd")
Signed-off-by: Yuan Chen <chenyuan@kylinos.cn>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20261016015057.127061-1-chenyuan_fl@163.com
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
