diff options
| author | Jiri Olsa <jolsa@kernel.org> | 2024-11-08 14:45:33 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-12-05 14:01:56 +0100 |
| commit | 9ff1b95ccd88492bd490feb0a9fa06dc4a665d07 (patch) | |
| tree | 5182e0deadf21051477af93f1425f290f22ffc6e /kernel/trace/fgraph.c | |
| parent | 36ede57f0c51f123e8a44c8952fc9702f636828c (diff) | |
| download | linux-9ff1b95ccd88492bd490feb0a9fa06dc4a665d07.tar.gz linux-9ff1b95ccd88492bd490feb0a9fa06dc4a665d07.tar.bz2 linux-9ff1b95ccd88492bd490feb0a9fa06dc4a665d07.zip | |
bpf: Force uprobe bpf program to always return 0
[ Upstream commit f505005bc7426f4309880da94cfbfc37efa225bd ]
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 <andrii@kernel.org>
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20241108134544.480660-3-jolsa@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'kernel/trace/fgraph.c')
0 files changed, 0 insertions, 0 deletions
