Searched refs:num_perms (Results 1 – 9 of 9) sorted by relevance
/third_party/selinux/libselinux/src/ |
D | mapping.c | 22 unsigned num_perms; member 77 p_out->num_perms = 0; in selinux_set_mapping() 101 p_out->num_perms = k; in selinux_set_mapping() 146 for (i = 0; i < current_mapping[tclass].num_perms; i++) in unmap_perm() 192 for (i = 0; i < current_mapping[tclass].num_perms; i++) in map_perm() 214 unsigned int i, n = mapping->num_perms; in map_decision()
|
/third_party/selinux/libsepol/cil/src/ |
D | cil_reset_ast.c | 27 int num_common_perms = class->num_perms - class->perms.nprim; in cil_reset_class() 31 class->num_perms = class->perms.nprim; in cil_reset_class()
|
D | cil_build_ast.h | 57 …e *parse_current, struct cil_tree_node *ast_node, enum cil_flavor flavor, unsigned int *num_perms); 59 …de *current_perm, struct cil_tree_node *ast_node, enum cil_flavor flavor, unsigned int *num_perms);
|
D | cil_build_ast.c | 479 rc = cil_gen_perm_nodes(db, perms, ast_node, CIL_PERM, &class->num_perms); in cil_gen_class() 483 if (class->num_perms > CIL_PERMS_PER_CLASS) { in cil_gen_class() 581 …de *parse_current, struct cil_tree_node *ast_node, enum cil_flavor flavor, unsigned int *num_perms) in cil_gen_perm() argument 600 perm->value = *num_perms; in cil_gen_perm() 601 (*num_perms)++; in cil_gen_perm() 623 …ode *current_perm, struct cil_tree_node *ast_node, enum cil_flavor flavor, unsigned int *num_perms) in cil_gen_perm_nodes() argument 639 rc = cil_gen_perm(db, current_perm, new_ast, flavor, num_perms); in cil_gen_perm_nodes() 946 …il_gen_perm_nodes(db, parse_current->next->next->cl_head, ast_node, CIL_MAP_PERM, &map->num_perms); in cil_gen_map_class() 1046 …cil_gen_perm_nodes(db, parse_current->next->next->cl_head, ast_node, CIL_PERM, &common->num_perms); in cil_gen_common() 1050 if (common->num_perms > CIL_PERMS_PER_CLASS) { in cil_gen_common()
|
D | cil_internal.h | 380 unsigned int num_perms; member
|
D | cil_post.c | 2050 …r flavor, symtab_t *class_symtab, symtab_t *common_symtab, unsigned int num_perms, struct cil_list… in __evaluate_perm_expression() argument 2061 rc = __cil_expr_to_bitmap(perms, &bitmap, num_perms, db); in __evaluate_perm_expression() 2098 …erm_expression(cp->perms, CIL_PERM, &class->perms, common_symtab, class->num_perms, &new_list, db); in __evaluate_classperms()
|
D | cil_resolve_ast.c | 788 cil_symtab_map(&class->perms, __class_update_perm_values, &common->num_perms); in cil_resolve_classcommon() 790 class->num_perms += common->num_perms; in cil_resolve_classcommon() 791 if (class->num_perms > CIL_PERMS_PER_CLASS) { in cil_resolve_classcommon()
|
D | cil.c | 2210 (*class)->num_perms = 0; in cil_class_init()
|
/third_party/libbpf/.github/actions/build-selftests/ |
D | vmlinux.h | 54347 unsigned int num_perms; member
|