Home
last modified time | relevance | path

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

/third_party/selinux/libsepol/src/
Dmls.c761 mls_semantic_cat_t *newcat, *lnewcat = NULL; in mls_semantic_level_cpy() local
767 newcat = in mls_semantic_level_cpy()
769 if (!newcat) in mls_semantic_level_cpy()
772 mls_semantic_cat_init(newcat); in mls_semantic_level_cpy()
774 lnewcat->next = newcat; in mls_semantic_level_cpy()
776 dst->cat = newcat; in mls_semantic_level_cpy()
778 newcat->low = cat->low; in mls_semantic_level_cpy()
779 newcat->high = cat->high; in mls_semantic_level_cpy()
781 lnewcat = newcat; in mls_semantic_level_cpy()
/third_party/selinux/checkpolicy/
Dpolicy_define.c4239 mls_semantic_cat_t *newcat; in parse_semantic_categories() local
4274 newcat = (mls_semantic_cat_t *) malloc(sizeof(mls_semantic_cat_t)); in parse_semantic_categories()
4275 if (!newcat) { in parse_semantic_categories()
4280 mls_semantic_cat_init(newcat); in parse_semantic_categories()
4281 newcat->next = *cats; in parse_semantic_categories()
4282 newcat->low = range_start; in parse_semantic_categories()
4283 newcat->high = range_end; in parse_semantic_categories()
4285 *cats = newcat; in parse_semantic_categories()