implement 'int bpfGetFdProgId(const BPF_FD_TYPE prog_fd)'
which fetches the internal kernel identifier of an ebpf program
side note: Linux in include/uapi/linux/bpf.h declares:
4.14: struct bpf_map_info
4.14: struct bpf_prog_info
4.19: struct bpf_btf_info
5.4: struct bpf_func_info
5.4: struct bpf_line_info
5.10: struct bpf_link_info
5.10: struct bpf_pidns_info
Test: TreeHugger
Bug: 286369326
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I8b2fe1a67bdefff521e41b3ff4ef37d29fc90fae
1 file changed
tree: 0676151532b7072563f3b5a9ccf0aab659c821ac
- staticlibs/