Searched refs:newcat (Results 1 – 3 of 3) sorted by relevance
/external/selinux/python/chcat/ |
D | chcat | 71 def chcat_user_add(newcat, users): argument 92 for i in newcat[1:]: 113 def chcat_add(orig, newcat, objects, login_ind): argument 114 if len(newcat) == 1: 118 return chcat_user_add(newcat, objects) 121 sensitivity = newcat[0] 122 cat = newcat[1] 151 def chcat_user_remove(newcat, users): argument 172 for i in newcat[1:]: 192 def chcat_remove(orig, newcat, objects, login_ind): argument [all …]
|
/external/selinux/libsepol/src/ |
D | mls.c | 762 mls_semantic_cat_t *cat, *newcat, *lnewcat = NULL; in mls_semantic_level_cpy() local 768 newcat = in mls_semantic_level_cpy() 770 if (!newcat) in mls_semantic_level_cpy() 773 mls_semantic_cat_init(newcat); in mls_semantic_level_cpy() 775 lnewcat->next = newcat; in mls_semantic_level_cpy() 777 dst->cat = newcat; in mls_semantic_level_cpy() 779 newcat->low = cat->low; in mls_semantic_level_cpy() 780 newcat->high = cat->high; in mls_semantic_level_cpy() 782 lnewcat = newcat; in mls_semantic_level_cpy()
|
/external/selinux/checkpolicy/ |
D | policy_define.c | 4165 mls_semantic_cat_t *newcat; in parse_semantic_categories() local 4200 newcat = (mls_semantic_cat_t *) malloc(sizeof(mls_semantic_cat_t)); in parse_semantic_categories() 4201 if (!newcat) { in parse_semantic_categories() 4206 mls_semantic_cat_init(newcat); in parse_semantic_categories() 4207 newcat->next = *cats; in parse_semantic_categories() 4208 newcat->low = range_start; in parse_semantic_categories() 4209 newcat->high = range_end; in parse_semantic_categories() 4211 *cats = newcat; in parse_semantic_categories()
|