/external/selinux/libsepol/cil/src/ |
cil_binary.h | 90 * @param[in] datum The cil_role datum. 94 int cil_role_to_policydb(policydb_t *pdb, struct cil_role *cil_role); 105 int cil_roletype_to_policydb(policydb_t *pdb, const struct cil_db *db, struct cil_role *role);
|
cil_internal.h | 286 struct cil_role **val_to_role; 451 struct cil_role { struct 453 struct cil_role *bounds; 573 struct cil_role *src; 579 struct cil_role *result; 645 struct cil_role *role; 959 void cil_role_init(struct cil_role **role);
|
cil_post.c | 353 case CIL_ROLE: { 354 struct cil_role *role = node->data; 356 // multiple AST nodes can point to the same cil_role data (like if 427 case CIL_ROLE: { 428 struct cil_role *role = node->data; 657 struct cil_role *role = (struct cil_role *)datum; 830 case CIL_ROLE: 1038 static int __cil_role_assign_types(struct cil_role *role, struct cil_symtab_datum *datum) 1100 struct cil_role *role = NULL [all...] |
cil_verify.c | 655 struct cil_role *role = node->data; 658 struct cil_role *r1 = role; 659 struct cil_role *r2 = role->bounds; 718 struct cil_role *role = ctx->role; 730 struct cil_role *userrole = curr->data; 1327 case CIL_ROLE: [all...] |
cil_binary.c | 181 struct cil_role *role = (struct cil_role *)datum; 402 int cil_role_to_policydb(policydb_t *pdb, struct cil_role *cil_role) 410 if (cil_role->datum.fqn == CIL_KEY_OBJECT_R) { 417 key = cil_strdup(cil_role->datum.fqn); 437 int cil_role_bounds_to_policydb(policydb_t *pdb, struct cil_role *cil_role) 443 if (cil_role->bounds) { 444 rc = __cil_get_sepol_role_datum(pdb, DATUM(cil_role), &sepol_role) [all...] |
cil_reset_ast.c | 112 static void cil_reset_role(struct cil_role *role) 410 case CIL_ROLE:
|
cil_resolve_ast.c | 756 cil_list_append(userrole->user->roles, CIL_ROLE, userrole->role); 917 roletype->role = (struct cil_role*)role_datum; 946 roletrans->src = (struct cil_role*)src_datum; 966 if (node->flavor != CIL_ROLE) { 972 roletrans->result = (struct cil_role*)result_datum; 991 roleallow->src = (struct cil_role*)src_datum; 997 roleallow->tgt = (struct cil_role*)tgt_datum; [all...] |
cil_build_ast.h | 94 void cil_destroy_role(struct cil_role *role);
|
cil.c | 568 case CIL_ROLE: 787 case CIL_ROLE: 926 case CIL_ROLE: [all...] |
cil_copy_ast.c | 464 struct cil_role *orig = data; 470 struct cil_role *new; [all...] |
cil_policy.c | 357 fprintf(file_arr[USERROLES], " %s", ((struct cil_role*)current_role->data)->datum.name); 974 case CIL_ROLE: [all...] |
cil_tree.c | 635 case CIL_ROLE: { 636 struct cil_role *role = node->data; [all...] |
cil_build_ast.c | [all...] |