Home
last modified time | relevance | path

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

/third_party/selinux/libsepol/src/
Dexpand.c1219 cat_datum_t *cat = (cat_datum_t *) datum, *new_cat = NULL; in cats_copy_callback() local
1230 new_cat = (cat_datum_t *) malloc(sizeof(cat_datum_t)); in cats_copy_callback()
1231 if (!new_cat) in cats_copy_callback()
1233 cat_datum_init(new_cat); in cats_copy_callback()
1238 new_cat->s.value = cat->s.value; in cats_copy_callback()
1239 new_cat->isalias = cat->isalias; in cats_copy_callback()
1242 (hashtab_key_t) new_id, (hashtab_datum_t) new_cat)) { in cats_copy_callback()
1250 cat_datum_destroy(new_cat); in cats_copy_callback()
1251 free(new_cat); in cats_copy_callback()
Dlink.c1036 mls_semantic_cat_t *src_cat, *new_cat; in mls_level_convert() local
1049 new_cat = in mls_level_convert()
1051 if (!new_cat) { in mls_level_convert()
1055 mls_semantic_cat_init(new_cat); in mls_level_convert()
1057 new_cat->next = dst->cat; in mls_level_convert()
1058 dst->cat = new_cat; in mls_level_convert()