Home
last modified time | relevance | path

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

/external/selinux/policycoreutils/scripts/
Dchcat48 def chcat_user_add(newcat, users): argument
69 for i in newcat[1:]:
90 def chcat_add(orig, newcat, objects,login_ind): argument
91 if len(newcat) == 1:
95 return chcat_user_add(newcat, objects)
98 sensitivity = newcat[0]
99 cat = newcat[1]
127 def chcat_user_remove(newcat, users): argument
148 for i in newcat[1:]:
167 def chcat_remove(orig, newcat, objects, login_ind): argument
[all …]
/external/selinux/libsepol/src/
Dmls.c744 mls_semantic_cat_t *cat, *newcat, *lnewcat = NULL; in mls_semantic_level_cpy() local
750 newcat = in mls_semantic_level_cpy()
752 if (!newcat) in mls_semantic_level_cpy()
755 mls_semantic_cat_init(newcat); in mls_semantic_level_cpy()
757 lnewcat->next = newcat; in mls_semantic_level_cpy()
759 dst->cat = newcat; in mls_semantic_level_cpy()
761 newcat->low = cat->low; in mls_semantic_level_cpy()
762 newcat->high = cat->high; in mls_semantic_level_cpy()
764 lnewcat = newcat; in mls_semantic_level_cpy()
/external/selinux/checkpolicy/
Dpolicy_define.c4066 mls_semantic_cat_t *newcat; in parse_semantic_categories() local
4101 newcat = (mls_semantic_cat_t *) malloc(sizeof(mls_semantic_cat_t)); in parse_semantic_categories()
4102 if (!newcat) { in parse_semantic_categories()
4107 mls_semantic_cat_init(newcat); in parse_semantic_categories()
4108 newcat->next = *cats; in parse_semantic_categories()
4109 newcat->low = range_start; in parse_semantic_categories()
4110 newcat->high = range_end; in parse_semantic_categories()
4112 *cats = newcat; in parse_semantic_categories()