diff options
author | Jiri Olsa <[email protected]> | 2024-09-05 14:51:21 +0300 |
---|---|---|
committer | Andrii Nakryiko <[email protected]> | 2024-09-05 12:43:22 -0700 |
commit | 900f362e2062e4a23a53bf89fd3b248cd021f5af (patch) | |
tree | 1dfbc08f252d9a682f1d0b72f8329b40115cde60 /drivers/usb/cdns3/cdns3-debug.h | |
parent | aa01d13eecc9fd236f06e3971ef919d3561d2506 (diff) |
bpf: Fix uprobe multi pid filter check
Uprobe multi link does its own process (thread leader) filtering before
running the bpf program by comparing task's vm pointers.
But as Oleg pointed out there can be processes sharing the vm (CLONE_VM),
so we can't just compare task->vm pointers, but instead we need to use
same_thread_group call.
Suggested-by: Oleg Nesterov <[email protected]>
Signed-off-by: Jiri Olsa <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: Oleg Nesterov <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions