diff options
| author | Ilya Leoshkevich <[email protected]> | 2022-04-05 00:50:20 +0200 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2022-04-04 16:47:16 -0700 |
| commit | 568189310c2096e204674edd2f0da036cd50676a (patch) | |
| tree | ea0b4b0cc69737817786850969446c22dc58cc8b /tools/lib/bpf/Build | |
| parent | d298761746d59ca169dfe68b4d0a983c3053573b (diff) | |
libbpf: Support Debian in resolve_full_path()
attach_probe selftest fails on Debian-based distros with `failed to
resolve full path for 'libc.so.6'`. The reason is that these distros
embraced multiarch to the point where even for the "main" architecture
they store libc in /lib/<triple>.
This is configured in /etc/ld.so.conf and in theory it's possible to
replicate the loader's parsing and processing logic in libbpf, however
a much simpler solution is to just enumerate the known library paths.
Signed-off-by: Ilya Leoshkevich <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/lib/bpf/Build')
0 files changed, 0 insertions, 0 deletions