summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/clk.py
diff options
context:
space:
mode:
authorTao Chen <chen.dylane@linux.dev>2025-04-07 06:57:52 +0300
committerAndrii Nakryiko <andrii@kernel.org>2025-04-10 02:28:51 +0300
commita76116f422c442ab691b4dcabb25613486d34360 (patch)
treedc689725c6a1d800fd56a2cbeaf2dbb3d65e4038 /scripts/gdb/linux/clk.py
parent243911982aa9faf4361aa952f879331ad66933fe (diff)
downloadlinux-a76116f422c442ab691b4dcabb25613486d34360.tar.xz
bpf: Check link_create.flags parameter for multi_uprobe
The link_create.flags are currently not used for multi-uprobes, so return -EINVAL if it is set, same as for other attach APIs. We allow target_fd to have an arbitrary value for multi-uprobe, though, as there are existing users (libbpf) relying on this. Fixes: 89ae89f53d20 ("bpf: Add multi uprobe link") Signed-off-by: Tao Chen <chen.dylane@linux.dev> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20250407035752.1108927-2-chen.dylane@linux.dev
Diffstat (limited to 'scripts/gdb/linux/clk.py')
0 files changed, 0 insertions, 0 deletions