Searched refs:polcap (Results 1 – 4 of 4) sorted by relevance
1509 struct cil_policycap *polcap = node->data; in __cil_verify_policycap() local1511 rc = sepol_polcap_getnum((const char*)polcap->datum.name); in __cil_verify_policycap()1519 cil_tree_log(node, CIL_ERR, "Invalid policycap (%s)", (const char*)polcap->datum.name); in __cil_verify_policycap()
213 void cil_destroy_policycap(struct cil_policycap *polcap);
5529 struct cil_policycap *polcap = NULL; in cil_gen_policycap() local5541 cil_policycap_init(&polcap); in cil_gen_policycap()5545 …rc = cil_gen_node(db, ast_node, (struct cil_symtab_datum*)polcap, (hashtab_key_t)key, CIL_SYM_POLI… in cil_gen_policycap()5553 cil_destroy_policycap(polcap); in cil_gen_policycap()5558 void cil_destroy_policycap(struct cil_policycap *polcap) in cil_destroy_policycap() argument5560 if (polcap == NULL) { in cil_destroy_policycap()5564 cil_symtab_datum_destroy(&polcap->datum); in cil_destroy_policycap()5565 free(polcap); in cil_destroy_policycap()
1428 struct cil_policycap *polcap = node->data; in cil_write_ast_node() local1429 fprintf(out, "(policycap %s)\n", polcap->datum.name); in cil_write_ast_node()