Home
last modified time | relevance | path

Searched refs:polcap (Results 1 – 4 of 4) sorted by relevance

/third_party/selinux/libsepol/cil/src/
Dcil_verify.c1511 struct cil_policycap *polcap = node->data; in __cil_verify_policycap() local
1513 rc = sepol_polcap_getnum((const char*)polcap->datum.name); in __cil_verify_policycap()
1521 cil_tree_log(node, CIL_ERR, "Invalid policycap (%s)", (const char*)polcap->datum.name); in __cil_verify_policycap()
Dcil_build_ast.h213 void cil_destroy_policycap(struct cil_policycap *polcap);
Dcil_build_ast.c5564 struct cil_policycap *polcap = NULL; in cil_gen_policycap() local
5576 cil_policycap_init(&polcap); in cil_gen_policycap()
5580 …rc = cil_gen_node(db, ast_node, (struct cil_symtab_datum*)polcap, (hashtab_key_t)key, CIL_SYM_POLI… in cil_gen_policycap()
5588 cil_destroy_policycap(polcap); in cil_gen_policycap()
5593 void cil_destroy_policycap(struct cil_policycap *polcap) in cil_destroy_policycap() argument
5595 if (polcap == NULL) { in cil_destroy_policycap()
5599 cil_symtab_datum_destroy(&polcap->datum); in cil_destroy_policycap()
5600 free(polcap); in cil_destroy_policycap()
Dcil_write_ast.c1465 struct cil_policycap *polcap = node->data; in cil_write_ast_node() local
1466 fprintf(out, "(policycap %s)\n", polcap->datum.name); in cil_write_ast_node()