aboutsummaryrefslogtreecommitdiff
path: root/security/inode.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2021-03-18 12:40:26 -0700
committerAlexei Starovoitov <ast@kernel.org>2021-03-18 16:14:22 -0700
commitf36e99a45dbe76949eb99bba413c67eda5cd2591 (patch)
tree85e7df4c53f34e48a47c9e9c410f1da9c432165a /security/inode.c
parente14ef4bf011192b61b48c4f3a35b3041140073ff (diff)
libbpf: Generalize BTF and BTF.ext type ID and strings iteration
Extract and generalize the logic to iterate BTF type ID and string offset fields within BTF types and .BTF.ext data. Expose this internally in libbpf for re-use by bpf_linker. Additionally, complete strings deduplication handling for BTF.ext (e.g., CO-RE access strings), which was previously missing. There previously was no case of deduplicating .BTF.ext data, but bpf_linker is going to use it. Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20210318194036.3521577-3-andrii@kernel.org
Diffstat (limited to 'security/inode.c')
0 files changed, 0 insertions, 0 deletions