Merge branch 'fix-bpf-multi-uprobe-pid-filtering-logic'
authorAlexei Starovoitov <ast@kernel.org>
Sat, 25 May 2024 17:46:03 +0000 (10:46 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Sat, 25 May 2024 17:46:03 +0000 (10:46 -0700)
commit590016ad83de770153a09151336d95544d6bd7ad
tree2f016edc5b9d6493df7368f06884af7bac6e574d
parent44382b3ed6b2787710c8ade06c0e97f5970a47c8
parent198034a87dfeb64d5a8359a5089022c6b923646e
Merge branch 'fix-bpf-multi-uprobe-pid-filtering-logic'

Andrii Nakryiko says:

====================
Fix BPF multi-uprobe PID filtering logic

It turns out that current implementation of multi-uprobe PID filtering logic
is broken. It filters by thread, while the promise is filtering by process.
Patch #1 fixes the logic trivially. The rest is testing and mitigations that
are necessary for libbpf to not break users of USDT programs.

v1->v2:
  - fix selftest in last patch (CI);
  - use semicolon in patch #3 (Jiri).
====================

Link: https://lore.kernel.org/r/20240521163401.3005045-1-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>