Searched refs:has_datasec (Results 1 – 1 of 1) sorted by relevance
3071 bool has_datasec = kernel_supports(obj, FEAT_BTF_DATASEC); in btf_needs_sanitization() local3079 return !has_func || !has_datasec || !has_func_global || !has_float || in btf_needs_sanitization()3086 bool has_datasec = kernel_supports(obj, FEAT_BTF_DATASEC); in bpf_object__sanitize_btf() local3100 if ((!has_datasec && btf_is_var(t)) || (!has_decl_tag && btf_is_decl_tag(t))) { in bpf_object__sanitize_btf()3110 } else if (!has_datasec && btf_is_datasec(t)) { in bpf_object__sanitize_btf()