aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorStanislav Fomichev <[email protected]>2022-08-04 13:11:40 -0700
committerDaniel Borkmann <[email protected]>2022-08-08 15:53:39 +0200
commitffd5cfca5388e9d7c8386343763df41315ac1dd2 (patch)
treee398b0d1fa05fcf45f7b34f0238204607f89a78a /scripts/gdb/linux/utils.py
parent6644aabbd8973a9f8008cabfd054a36b69a3a3f5 (diff)
selftests/bpf: Excercise bpf_obj_get_info_by_fd for bpf2bpf
Apparently, no existing selftest covers it. Add a new one where we load cgroup/bind4 program and attach fentry to it. Calling bpf_obj_get_info_by_fd on the fentry program should return non-zero btf_id/btf_obj_id instead of crashing the kernel. Signed-off-by: Stanislav Fomichev <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Martin KaFai Lau <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions