Home
last modified time | relevance | path

Searched refs:mls_semantic_cat_t (Results 1 – 8 of 8) sorted by relevance

/third_party/selinux/libsepol/include/sepol/policydb/
Dmls_types.h162 } mls_semantic_cat_t; typedef
166 mls_semantic_cat_t *cat;
173 extern void mls_semantic_cat_init(mls_semantic_cat_t *c);
174 extern void mls_semantic_cat_destroy(mls_semantic_cat_t *c);
/third_party/selinux/libsepol/src/
Dmls.c725 void mls_semantic_cat_init(mls_semantic_cat_t * c) in mls_semantic_cat_init()
727 memset(c, 0, sizeof(mls_semantic_cat_t)); in mls_semantic_cat_init()
730 void mls_semantic_cat_destroy(mls_semantic_cat_t * c __attribute__ ((unused))) in mls_semantic_cat_destroy()
743 mls_semantic_cat_t *cur, *next; in mls_semantic_level_destroy()
760 const mls_semantic_cat_t *cat; in mls_semantic_level_cpy()
761 mls_semantic_cat_t *newcat, *lnewcat = NULL; in mls_semantic_level_cpy()
768 (mls_semantic_cat_t *) malloc(sizeof(mls_semantic_cat_t)); in mls_semantic_level_cpy()
Dpolicydb.c1912 mls_semantic_cat_t *cat; in mls_read_semantic_level_helper()
1926 cat = (mls_semantic_cat_t *) malloc(sizeof(mls_semantic_cat_t)); in mls_read_semantic_level_helper()
1973 mls_semantic_cat_t *open_cat = NULL; in mls_level_to_semantic()
1981 open_cat = (mls_semantic_cat_t *) in mls_level_to_semantic()
1982 malloc(sizeof(mls_semantic_cat_t)); in mls_level_to_semantic()
Dlink.c1036 mls_semantic_cat_t *src_cat, *new_cat; in mls_level_convert()
1050 (mls_semantic_cat_t *) malloc(sizeof(mls_semantic_cat_t)); in mls_level_convert()
Dpolicydb_validate.c541 static int validate_mls_semantic_cat(const mls_semantic_cat_t *cat, const validate_t *cats) in validate_mls_semantic_cat()
Dwrite.c359 mls_semantic_cat_t *cat; in mls_write_semantic_level_helper()
Dexpand.c919 mls_semantic_cat_t *cat; in mls_semantic_level_expand()
/third_party/selinux/checkpolicy/
Dpolicy_define.c4236 mls_semantic_cat_t ** cats) in parse_semantic_categories()
4239 mls_semantic_cat_t *newcat; in parse_semantic_categories()
4274 newcat = (mls_semantic_cat_t *) malloc(sizeof(mls_semantic_cat_t)); in parse_semantic_categories()