summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorHou Tao <houtao1@huawei.com>2022-12-17 09:21:44 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2022-12-20 00:02:17 +0300
commitcc074822465d18a2d39e0b3e2b48b6766a568db2 (patch)
tree5893648c906da5bdd029c045ea6de5d7d926edf6 /tools/perf/scripts/python/exported-sql-viewer.py
parent2856a62762c8409e360d4fd452194c8e57ba1058 (diff)
downloadlinux-cc074822465d18a2d39e0b3e2b48b6766a568db2.tar.xz
bpf: Define sock security related BTF IDs under CONFIG_SECURITY_NETWORK
There are warnings reported from resolve_btfids when building vmlinux with CONFIG_SECURITY_NETWORK disabled: WARN: resolve_btfids: unresolved symbol bpf_lsm_sk_free_security WARN: resolve_btfids: unresolved symbol bpf_lsm_sk_alloc_security So only define BTF IDs for these LSM hooks when CONFIG_SECURITY_NETWORK is enabled. Fixes: c0c852dd1876 ("bpf: Do not mark certain LSM hook arguments as trusted") Signed-off-by: Hou Tao <houtao1@huawei.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Yonghong Song <yhs@fb.com> Link: https://lore.kernel.org/bpf/20221217062144.2507222-1-houtao@huaweicloud.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions