From: Alexei Starovoitov Date: Sat, 25 May 2024 17:46:03 +0000 (-0700) Subject: Merge branch 'fix-bpf-multi-uprobe-pid-filtering-logic' X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=590016ad83de770153a09151336d95544d6bd7ad;p=linux.git 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 --- 590016ad83de770153a09151336d95544d6bd7ad