Searched refs:has_datasec (Results 1 – 1 of 1) sorted by relevance
2632 bool has_datasec = kernel_supports(obj, FEAT_BTF_DATASEC); in btf_needs_sanitization() local2638 return !has_func || !has_datasec || !has_func_global || !has_float || in btf_needs_sanitization()2645 bool has_datasec = kernel_supports(obj, FEAT_BTF_DATASEC); in bpf_object__sanitize_btf() local2656 if ((!has_datasec && btf_is_var(t)) || (!has_decl_tag && btf_is_decl_tag(t))) { in bpf_object__sanitize_btf()2666 } else if (!has_datasec && btf_is_datasec(t)) { in bpf_object__sanitize_btf()