]> git.baikalelectronics.ru Git - kernel.git/commit
libbpf: Treat STV_INTERNAL same as STV_HIDDEN for functions
authorAndrii Nakryiko <andrii@kernel.org>
Fri, 7 May 2021 05:41:18 +0000 (22:41 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 11 May 2021 22:07:17 +0000 (15:07 -0700)
commitcc2d0ac2b8c0764cded1d235f5fcd85951bd7877
treed7e62cbc4a3f692ad40e1f3ead6b2e24357789f0
parent0033d708bbebacfc7073549cdf2cc881beee74b3
libbpf: Treat STV_INTERNAL same as STV_HIDDEN for functions

Do the same global -> static BTF update for global functions with STV_INTERNAL
visibility to turn on static BPF verification mode.

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20210507054119.270888-7-andrii@kernel.org
tools/lib/bpf/libbpf.c