Home
last modified time | relevance | path

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

/external/selinux/libselinux/src/
Dselinux_restorecon.c561 context_t conb; in compare_types() local
569 conb = context_new(newcon); in compare_types()
570 if (!conb) { in compare_types()
576 types_differ = strcmp(context_type_get(cona), context_type_get(conb)); in compare_types()
578 rc |= context_user_set(conb, context_user_get(cona)); in compare_types()
579 rc |= context_role_set(conb, context_role_get(cona)); in compare_types()
580 rc |= context_range_set(conb, context_range_get(cona)); in compare_types()
582 *newtypecon = strdup(context_str(conb)); in compare_types()
592 context_free(conb); in compare_types()