Home
last modified time | relevance | path

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

/external/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.c376 class_datum_t *newdatum) in class_copy_default_new_object() argument
379 if (newdatum->default_user && olddatum->default_user != newdatum->default_user) { in class_copy_default_new_object()
383 newdatum->default_user = olddatum->default_user; in class_copy_default_new_object()
387 if (newdatum->default_role && olddatum->default_role != newdatum->default_role) { in class_copy_default_new_object()
391 newdatum->default_role = olddatum->default_role; in class_copy_default_new_object()
394 if (newdatum->default_type && olddatum->default_type != newdatum->default_type) { in class_copy_default_new_object()
398 newdatum->default_type = olddatum->default_type; in class_copy_default_new_object()
401 if (newdatum->default_range && olddatum->default_range != newdatum->default_range) { in class_copy_default_new_object()
405 newdatum->default_range = olddatum->default_range; in class_copy_default_new_object()
/external/selinux/libsepol/cil/src/
Dcil_binary.c1136 filename_trans_datum_t *newdatum = NULL, *otype = NULL; in __cil_typetransition_to_avtab() local
1181 newdatum = cil_calloc(1, sizeof(*newdatum)); in __cil_typetransition_to_avtab()
1186 newdatum->otype = sepol_result->s.value; in __cil_typetransition_to_avtab()
1190 newdatum); in __cil_typetransition_to_avtab()
1195 if (newdatum->otype != otype->otype) { in __cil_typetransition_to_avtab()
1205 free(newdatum); in __cil_typetransition_to_avtab()
3083 struct mls_range *newdatum = NULL; in cil_rangetransition_to_policydb() local
3111 newdatum = cil_calloc(1, sizeof(*newdatum)); in cil_rangetransition_to_policydb()
3115 rc = __cil_levelrange_to_mls_range(pdb, rangetrans->range, newdatum); in cil_rangetransition_to_policydb()
3118 free(newdatum); in cil_rangetransition_to_policydb()
[all …]