Home
last modified time | relevance | path

Searched refs:newdatum (Results 1 – 3 of 3) sorted by relevance

/third_party/selinux/libsepol/src/
Dlink.c210 class_datum_t *newdatum) in class_copy_default_new_object() argument
213 if (newdatum->default_user && olddatum->default_user != newdatum->default_user) { in class_copy_default_new_object()
217 newdatum->default_user = olddatum->default_user; in class_copy_default_new_object()
220 if (newdatum->default_role && olddatum->default_role != newdatum->default_role) { in class_copy_default_new_object()
224 newdatum->default_role = olddatum->default_role; in class_copy_default_new_object()
227 if (newdatum->default_type && olddatum->default_type != newdatum->default_type) { in class_copy_default_new_object()
231 newdatum->default_type = olddatum->default_type; in class_copy_default_new_object()
234 if (newdatum->default_range && olddatum->default_range != newdatum->default_range) { in class_copy_default_new_object()
238 newdatum->default_range = olddatum->default_range; in class_copy_default_new_object()
Dexpand.c411 class_datum_t *newdatum) in class_copy_default_new_object() argument
414 if (newdatum->default_user && olddatum->default_user != newdatum->default_user) { in class_copy_default_new_object()
418 newdatum->default_user = olddatum->default_user; in class_copy_default_new_object()
422 if (newdatum->default_role && olddatum->default_role != newdatum->default_role) { in class_copy_default_new_object()
426 newdatum->default_role = olddatum->default_role; in class_copy_default_new_object()
429 if (newdatum->default_type && olddatum->default_type != newdatum->default_type) { in class_copy_default_new_object()
433 newdatum->default_type = olddatum->default_type; in class_copy_default_new_object()
436 if (newdatum->default_range && olddatum->default_range != newdatum->default_range) { in class_copy_default_new_object()
440 newdatum->default_range = olddatum->default_range; in class_copy_default_new_object()
/third_party/selinux/libsepol/cil/src/
Dcil_binary.c3168 struct mls_range *newdatum = NULL; in cil_rangetransition_to_policydb() local
3196 newdatum = cil_calloc(1, sizeof(*newdatum)); in cil_rangetransition_to_policydb()
3200 rc = __cil_levelrange_to_mls_range(pdb, rangetrans->range, newdatum); in cil_rangetransition_to_policydb()
3203 free(newdatum); in cil_rangetransition_to_policydb()
3207 rc = hashtab_insert(pdb->range_tr, (hashtab_key_t)newkey, newdatum); in cil_rangetransition_to_policydb()
3211 if (!mls_range_eq(newdatum, o_range)) { in cil_rangetransition_to_policydb()
3219 mls_range_destroy(newdatum); in cil_rangetransition_to_policydb()
3220 free(newdatum); in cil_rangetransition_to_policydb()