Home
last modified time | relevance | path

Searched refs:num_perms (Results 1 – 9 of 9) sorted by relevance

/external/libselinux/src/
Dmapping.c19 unsigned num_perms; member
81 p_out->num_perms = k; in selinux_set_mapping()
121 for (i=0; i<current_mapping[tclass].num_perms; i++) in unmap_perm()
167 for (i=0; i<current_mapping[tclass].num_perms; i++) in map_perm()
190 for (i=0, result=0; i<current_mapping[tclass].num_perms; i++) in map_decision()
195 for (i=0, result=0; i<current_mapping[tclass].num_perms; i++) in map_decision()
200 for (i=0, result=0; i<current_mapping[tclass].num_perms; i++) in map_decision()
205 for (i=0, result=0; i<current_mapping[tclass].num_perms; i++) in map_decision()
/external/selinux/libselinux/src/
Dmapping.c19 unsigned num_perms; member
81 p_out->num_perms = k; in selinux_set_mapping()
121 for (i=0; i<current_mapping[tclass].num_perms; i++) in unmap_perm()
167 for (i=0; i<current_mapping[tclass].num_perms; i++) in map_perm()
190 for (i=0, result=0; i<current_mapping[tclass].num_perms; i++) in map_decision()
195 for (i=0, result=0; i<current_mapping[tclass].num_perms; i++) in map_decision()
200 for (i=0, result=0; i<current_mapping[tclass].num_perms; i++) in map_decision()
205 for (i=0, result=0; i<current_mapping[tclass].num_perms; i++) in map_decision()
/external/selinux/libsepol/cil/src/
Dcil_reset_ast.c26 cil_symtab_map(&common->perms, __class_reset_perm_values, &common->num_perms); in cil_reset_class()
29 class->num_perms -= common->num_perms; in cil_reset_class()
Dcil_build_ast.h55 …e *parse_current, struct cil_tree_node *ast_node, enum cil_flavor flavor, unsigned int *num_perms);
57 …de *current_perm, struct cil_tree_node *ast_node, enum cil_flavor flavor, unsigned int *num_perms);
Dcil_post.c1382 …r flavor, symtab_t *class_symtab, symtab_t *common_symtab, unsigned int num_perms, struct cil_list… in __evaluate_perm_expression() argument
1393 rc = __cil_expr_to_bitmap(perms, &bitmap, num_perms, db); in __evaluate_perm_expression()
1430 …erm_expression(cp->perms, CIL_PERM, &class->perms, common_symtab, class->num_perms, &new_list, db); in __evaluate_classperms()
Dcil_internal.h342 unsigned int num_perms; member
Dcil_build_ast.c376 rc = cil_gen_perm_nodes(db, perms, ast_node, CIL_PERM, &class->num_perms); in cil_gen_class()
455 …de *parse_current, struct cil_tree_node *ast_node, enum cil_flavor flavor, unsigned int *num_perms) in cil_gen_perm() argument
470 perm->value = *num_perms; in cil_gen_perm()
471 (*num_perms)++; in cil_gen_perm()
493 …ode *current_perm, struct cil_tree_node *ast_node, enum cil_flavor flavor, unsigned int *num_perms) in cil_gen_perm_nodes() argument
509 rc = cil_gen_perm(db, current_perm, new_ast, flavor, num_perms); in cil_gen_perm_nodes()
824 …il_gen_perm_nodes(db, parse_current->next->next->cl_head, ast_node, CIL_MAP_PERM, &map->num_perms); in cil_gen_map_class()
926 …cil_gen_perm_nodes(db, parse_current->next->next->cl_head, ast_node, CIL_PERM, &common->num_perms); in cil_gen_common()
Dcil_resolve_ast.c682 cil_symtab_map(&class->perms, __class_update_perm_values, &common->num_perms); in cil_resolve_classcommon()
684 class->num_perms += common->num_perms; in cil_resolve_classcommon()
Dcil.c1841 (*class)->num_perms = 0; in cil_class_init()