Home
last modified time | relevance | path

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

/third_party/selinux/libsepol/src/
Dlink.c212 class_datum_t *newdatum) in class_copy_default_new_object() argument
215 if (newdatum->default_user && olddatum->default_user != newdatum->default_user) { in class_copy_default_new_object()
219 newdatum->default_user = olddatum->default_user; in class_copy_default_new_object()
222 if (newdatum->default_role && olddatum->default_role != newdatum->default_role) { in class_copy_default_new_object()
226 newdatum->default_role = olddatum->default_role; in class_copy_default_new_object()
229 if (newdatum->default_type && olddatum->default_type != newdatum->default_type) { in class_copy_default_new_object()
233 newdatum->default_type = olddatum->default_type; in class_copy_default_new_object()
236 if (newdatum->default_range && olddatum->default_range != newdatum->default_range) { in class_copy_default_new_object()
240 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.c3256 struct mls_range *newdatum = NULL; in cil_rangetransition_to_policydb() local
3284 newdatum = cil_calloc(1, sizeof(*newdatum)); in cil_rangetransition_to_policydb()
3288 rc = __cil_levelrange_to_mls_range(pdb, rangetrans->range, newdatum); in cil_rangetransition_to_policydb()
3291 free(newdatum); in cil_rangetransition_to_policydb()
3295 rc = hashtab_insert(pdb->range_tr, (hashtab_key_t)newkey, newdatum); in cil_rangetransition_to_policydb()
3299 if (!mls_range_eq(newdatum, o_range)) { in cil_rangetransition_to_policydb()
3313 mls_range_destroy(newdatum); in cil_rangetransition_to_policydb()
3317 free(newdatum); in cil_rangetransition_to_policydb()