/external/sepolicy/tools/sepolicy-analyze/ |
neverallow.c | 193 class_perm_node_t *classperms = NULL, *node = NULL; local 261 node->next = classperms; 262 classperms = node; 269 if (warn && !classperms) 329 for (node = classperms; node; node = node->next) 334 for (node = classperms; node; node = node->next) { 353 for (node = classperms; node; node = node->next) 358 for (node = classperms; node; node = node->next) 363 *perms = classperms;
|
/external/selinux/libsepol/cil/src/ |
cil_reset_ast.c | 37 cil_reset_classperms_list(perm->classperms); 55 cil_reset_classperms_list(cp->classperms); 82 cil_reset_classperms_list(cps->classperms); 87 cil_reset_classperms_list(cm->classperms); 173 cil_reset_classperms_list(rule->classperms); 349 cil_reset_classperms_list(con->classperms);
|
cil_internal.h | 336 struct cil_list *classperms; /* Only used for map perms */ member in struct:cil_perm 365 struct cil_list *classperms; member in struct:cil_classpermission 370 struct cil_list *classperms; member in struct:cil_classpermissionset 376 struct cil_list *classperms; member in struct:cil_classmapping 552 struct cil_list *classperms; member in struct:cil_avrule 769 struct cil_list *classperms; member in struct:cil_constrain
|
cil_copy_ast.c | 226 cil_copy_classperms_list(orig->classperms, &new->classperms); 285 cil_copy_classperms_list(orig->classperms, &new->classperms); 299 cil_copy_classperms_list(orig->classperms, &new->classperms); 756 cil_copy_classperms_list(orig->classperms, &new->classperms); 1304 cil_copy_classperms_list(orig->classperms, &new->classperms); [all...] |
cil_policy.c | 505 void cil_constrain_to_policy_helper(FILE **file_arr, char *kind, struct cil_list *classperms, struct cil_list *expr) 509 cil_list_for_each(curr, classperms) { 522 cil_constrain_to_policy_helper(file_arr, kind, cmp->classperms, expr); 528 cil_constrain_to_policy_helper(file_arr, kind, cp->classperms, expr); 543 cil_constrain_to_policy_helper(file_arr, kind, cons->classperms, cons->datum_expr); 546 void cil_avrule_to_policy_helper(FILE **file_arr, uint32_t file_index, const char *kind, const char *src, const char *tgt, struct cil_list *classperms) 550 cil_list_for_each(i, classperms) { 561 cil_avrule_to_policy_helper(file_arr, file_index, kind, src, tgt, cmp->classperms); 568 cil_list_for_each(j, cp->classperms) { 601 cil_avrule_to_policy_helper(file_arr, file_index, kind_str, src_str, tgt_str, rule->classperms); [all...] |
cil_verify.c | [all...] |
cil_binary.c | 236 static void __add_classes_from_classperms_list(struct cil_list *classperms, struct cil_list *class_list) 240 cil_list_for_each(curr, classperms) { 249 __add_classes_from_classperms_list(cmp->classperms, class_list); 255 __add_classes_from_classperms_list(cp->classperms, class_list); 265 __add_classes_from_classperms_list(cmp->classperms, class_list); 1504 struct cil_list *classperms = cil_avrule->classperms; local [all...] |
cil_post.c | [all...] |
cil_resolve_ast.c | 191 rc = cil_resolve_classperms_list(current, cp_set->set->classperms, extra_args); 241 rc = cil_resolve_classperms_list(current, cps->classperms, extra_args); 248 if (cp->classperms == NULL) { 249 cil_list_init(&cp->classperms, CIL_CLASSPERMS); 252 cil_list_for_each(curr, cps->classperms) { 253 cil_list_append(cp->classperms, curr->flavor, curr->data); 310 rc = cil_resolve_classperms_list(current, rule->classperms, extra_args); 714 rc = cil_resolve_classperms_list(current, mapping->classperms, extra_args); 719 if (mp->classperms == NULL) { 720 cil_list_init(&mp->classperms, CIL_CLASSPERMS) [all...] |
cil_tree.c | 576 cil_tree_print_classperms_list(cons->classperms); 853 cil_tree_print_classperms_list(cps->classperms); 874 if (cmp->classperms == NULL) { 881 cil_tree_print_classperms_list(cmp->classperms); 894 cil_tree_print_classperms_list(mapping->classperms); 1076 cil_tree_print_classperms_list(rule->classperms); [all...] |
cil.c | [all...] |
cil_build_ast.c | 488 cil_list_destroy(&perm->classperms, CIL_FALSE); 732 cil_list_destroy(&cp->classperms, CIL_FALSE); 735 cil_destroy_classperms_list(&cp->classperms); 769 rc = cil_fill_classperms_list(parse_current->next->next, &cps->classperms); 792 cil_destroy_classperms_list(&cps->classperms); 866 rc = cil_fill_classperms_list(parse_current->next->next->next, &mapping->classperms); 889 cil_destroy_classperms_list(&mapping->classperms); [all...] |
/external/selinux/libsepol/src/ |
module_to_cil.c | 541 static int avrule_to_cil(int indent, struct policydb *pdb, uint32_t type, const char *src, const char *tgt, const struct class_perm_node *classperms) 579 for (classperm = classperms; classperm != NULL; classperm = classperm->next) { [all...] |