Home
last modified time | relevance | path

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

/third_party/selinux/libsepol/src/
Dmls.c760 mls_semantic_cat_t *cat, *newcat, *lnewcat = NULL; in mls_semantic_level_cpy() local
766 newcat = in mls_semantic_level_cpy()
768 if (!newcat) in mls_semantic_level_cpy()
771 mls_semantic_cat_init(newcat); in mls_semantic_level_cpy()
773 lnewcat->next = newcat; in mls_semantic_level_cpy()
775 dst->cat = newcat; in mls_semantic_level_cpy()
777 newcat->low = cat->low; in mls_semantic_level_cpy()
778 newcat->high = cat->high; in mls_semantic_level_cpy()
780 lnewcat = newcat; in mls_semantic_level_cpy()
/third_party/selinux/checkpolicy/
Dpolicy_define.c4183 mls_semantic_cat_t *newcat; in parse_semantic_categories() local
4218 newcat = (mls_semantic_cat_t *) malloc(sizeof(mls_semantic_cat_t)); in parse_semantic_categories()
4219 if (!newcat) { in parse_semantic_categories()
4224 mls_semantic_cat_init(newcat); in parse_semantic_categories()
4225 newcat->next = *cats; in parse_semantic_categories()
4226 newcat->low = range_start; in parse_semantic_categories()
4227 newcat->high = range_end; in parse_semantic_categories()
4229 *cats = newcat; in parse_semantic_categories()