diff options
author | Jiri Olsa <jolsa@kernel.org> | 2023-09-07 22:06:51 +0200 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2023-09-08 16:53:10 -0700 |
commit | 41bc46c12a8053a1b3279a379bd6b5e87b045b85 (patch) | |
tree | 122c89936e741488561dde05fb694ff4f626ab92 /kernel/workqueue.c | |
parent | ac28b1ec6135649b5d78b028e47264cb3ebca5ea (diff) |
bpf: Add override check to kprobe multi link attach
Currently the multi_kprobe link attach does not check error
injection list for programs with bpf_override_return helper
and allows them to attach anywhere. Adding the missing check.
Fixes: 0dcac2725406 ("bpf: Add multi kprobe link")
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Reviewed-by: Alan Maguire <alan.maguire@oracle.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/bpf/20230907200652.926951-1-jolsa@kernel.org
Diffstat (limited to 'kernel/workqueue.c')
0 files changed, 0 insertions, 0 deletions