Searched refs:has_datasec (Results 1 – 1 of 1) sorted by relevance
3091 bool has_datasec = kernel_supports(obj, FEAT_BTF_DATASEC); in btf_needs_sanitization() local3099 return !has_func || !has_datasec || !has_func_global || !has_float || in btf_needs_sanitization()3106 bool has_datasec = kernel_supports(obj, FEAT_BTF_DATASEC); in bpf_object__sanitize_btf() local3120 if ((!has_datasec && btf_is_var(t)) || (!has_decl_tag && btf_is_decl_tag(t))) { in bpf_object__sanitize_btf()3130 } else if (!has_datasec && btf_is_datasec(t)) { in bpf_object__sanitize_btf()