/external/selinux/libselinux/src/ |
mapping.c | 19 unsigned num_perms; member in struct:selinux_mapping 81 p_out->num_perms = k; 121 for (i=0; i<current_mapping[tclass].num_perms; i++) 167 for (i=0; i<current_mapping[tclass].num_perms; i++) 190 for (i=0, result=0; i<current_mapping[tclass].num_perms; i++) 195 for (i=0, result=0; i<current_mapping[tclass].num_perms; i++) 200 for (i=0, result=0; i<current_mapping[tclass].num_perms; i++) 205 for (i=0, result=0; i<current_mapping[tclass].num_perms; i++)
|
/external/selinux/libsepol/cil/src/ |
cil_reset_ast.c | 26 cil_symtab_map(&class->perms, __class_reset_perm_values, &common->num_perms); 29 class->num_perms -= common->num_perms;
|
cil_build_ast.h | 55 int cil_gen_perm(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, enum cil_flavor flavor, unsigned int *num_perms); 57 int cil_gen_perm_nodes(struct cil_db *db, struct cil_tree_node *current_perm, struct cil_tree_node *ast_node, enum cil_flavor flavor, unsigned int *num_perms);
|
cil_internal.h | 364 unsigned int num_perms; member in struct:cil_class
|
cil_build_ast.c | 376 rc = cil_gen_perm_nodes(db, perms, ast_node, CIL_PERM, &class->num_perms); 380 if (class->num_perms > CIL_PERMS_PER_CLASS) { 476 int cil_gen_perm(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, enum cil_flavor flavor, unsigned int *num_perms) 495 perm->value = *num_perms; 496 (*num_perms)++; 518 int cil_gen_perm_nodes(struct cil_db *db, struct cil_tree_node *current_perm, struct cil_tree_node *ast_node, enum cil_flavor flavor, unsigned int *num_perms) 534 rc = cil_gen_perm(db, current_perm, new_ast, flavor, num_perms); 850 rc = cil_gen_perm_nodes(db, parse_current->next->next->cl_head, ast_node, CIL_MAP_PERM, &map->num_perms); 950 rc = cil_gen_perm_nodes(db, parse_current->next->next->cl_head, ast_node, CIL_PERM, &common->num_perms); 954 if (common->num_perms > CIL_PERMS_PER_CLASS) [all...] |
cil_post.c | [all...] |
cil_resolve_ast.c | 723 cil_symtab_map(&class->perms, __class_update_perm_values, &common->num_perms); 725 class->num_perms += common->num_perms; 726 if (class->num_perms > CIL_PERMS_PER_CLASS) { [all...] |
cil.c | [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/ |
permmap.py | 120 num_perms = int(entry[2]) 126 if num_perms < 1: 176 if perm_count >= num_perms:
|