diff options
| author | Jiri Olsa <[email protected]> | 2024-11-08 13:45:33 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2024-11-11 16:18:00 +0000 |
| commit | f505005bc7426f4309880da94cfbfc37efa225bd (patch) | |
| tree | ed33b18093c1fd543b3d9085c799a949ab04faac /tools/lib/bpf/libbpf.c | |
| parent | bpf: Allow return values 0 and 1 for kprobe session (diff) | |
| download | kernel-f505005bc7426f4309880da94cfbfc37efa225bd.tar.gz kernel-f505005bc7426f4309880da94cfbfc37efa225bd.zip | |
bpf: Force uprobe bpf program to always return 0
As suggested by Andrii make uprobe multi bpf programs to always return 0,
so they can't force uprobe removal.
Keeping the int return type for uprobe_prog_run, because it will be used
in following session changes.
Fixes: 89ae89f53d20 ("bpf: Add multi uprobe link")
Suggested-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Jiri Olsa <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/lib/bpf/libbpf.c')
0 files changed, 0 insertions, 0 deletions
