Home
last modified time | relevance | path

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

/external/selinux/libsepol/cil/src/
Dcil_verify.c1362 struct cil_policycap *polcap = node->data; in __cil_verify_policycap() local
1364 rc = sepol_polcap_getnum((const char*)polcap->datum.name); in __cil_verify_policycap()
1372 cil_tree_log(node, CIL_ERR, "Invalid policycap (%s)", (const char*)polcap->datum.name); in __cil_verify_policycap()
Dcil_build_ast.h211 void cil_destroy_policycap(struct cil_policycap *polcap);
Dcil_write_ast.c419 struct cil_policycap *polcap = (struct cil_policycap *)node->data; in cil_write_policycap() local
420 fprintf(cil_out, "(%s %s)\n", CIL_KEY_POLICYCAP, polcap->datum.name); in cil_write_policycap()
Dcil_build_ast.c5523 struct cil_policycap *polcap = NULL; in cil_gen_policycap() local
5535 cil_policycap_init(&polcap); in cil_gen_policycap()
5539 …rc = cil_gen_node(db, ast_node, (struct cil_symtab_datum*)polcap, (hashtab_key_t)key, CIL_SYM_POLI… in cil_gen_policycap()
5547 cil_destroy_policycap(polcap); in cil_gen_policycap()
5552 void cil_destroy_policycap(struct cil_policycap *polcap) in cil_destroy_policycap() argument
5554 if (polcap == NULL) { in cil_destroy_policycap()
5558 cil_symtab_datum_destroy(&polcap->datum); in cil_destroy_policycap()
5559 free(polcap); in cil_destroy_policycap()
Dcil_tree.c1653 struct cil_policycap *polcap = node->data; in cil_tree_print_node() local
1654 cil_log(CIL_INFO, "POLICYCAP: %s\n", polcap->datum.name); in cil_tree_print_node()
/external/selinux/prebuilts/bin/
Dsediff.py115 args.netifcon, args.nodecon, args.portcon, args.fs_use, args.polcap,
1290 if all_differences or args.polcap:
1291 if diff.added_polcaps or diff.removed_polcaps or args.polcap: