bpf: Export btf_type_by_id() and bpf_log()
authorDaniel Xu <dxu@dxuuu.xyz>
Wed, 7 Sep 2022 16:40:39 +0000 (10:40 -0600)
committerAlexei Starovoitov <ast@kernel.org>
Sun, 11 Sep 2022 00:27:32 +0000 (17:27 -0700)
commit84c6ac417ceacd086efc330afece8922969610b7
treedad51f74f7c8c9d7c38a304298b60314db4bde71
parent896f07c07da01aa7cee820a23c2bce1d8e9fe1e6
bpf: Export btf_type_by_id() and bpf_log()

These symbols will be used in nf_conntrack.ko to support direct writes
to `nf_conn`.

Signed-off-by: Daniel Xu <dxu@dxuuu.xyz>
Link: https://lore.kernel.org/r/3c98c19dc50d3b18ea5eca135b4fc3a5db036060.1662568410.git.dxu@dxuuu.xyz
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
kernel/bpf/btf.c
kernel/bpf/verifier.c