Home
last modified time | relevance | path

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

/external/selinux/python/chcat/
Dchcat67 def chcat_user_add(newcat, users): argument
87 for i in newcat[1:]:
108 def chcat_add(orig, newcat, objects, login_ind): argument
109 if len(newcat) == 1:
113 return chcat_user_add(newcat, objects)
116 sensitivity = newcat[0]
117 cat = newcat[1]
146 def chcat_user_remove(newcat, users): argument
166 for i in newcat[1:]:
188 def chcat_remove(orig, newcat, objects, login_ind): argument
[all …]
/external/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()
/external/selinux/checkpolicy/
Dpolicy_define.c4223 mls_semantic_cat_t *newcat; in parse_semantic_categories() local
4258 newcat = (mls_semantic_cat_t *) malloc(sizeof(mls_semantic_cat_t)); in parse_semantic_categories()
4259 if (!newcat) { in parse_semantic_categories()
4264 mls_semantic_cat_init(newcat); in parse_semantic_categories()
4265 newcat->next = *cats; in parse_semantic_categories()
4266 newcat->low = range_start; in parse_semantic_categories()
4267 newcat->high = range_end; in parse_semantic_categories()
4269 *cats = newcat; in parse_semantic_categories()