/external/selinux/libsepol/cil/src/ |
android.c | 357 struct cil_roletype *roletype = (struct cil_roletype *)node->data; local 359 if (roletype->role) { 363 key = roletype->type_str; 365 roletype->type_str = __cil_attrib_get_versname(key, args->num); 628 /* Yes, this is needed if we support roletype in non-platform policy.
|
cil_tree.c | 792 struct cil_roletype *roletype = node->data; local 794 cil_log(CIL_INFO, "ROLETYPE:"); 796 if (roletype->role != NULL) { 797 datum = roletype->role; 799 } else if (roletype->role_str != NULL) { 800 cil_log(CIL_INFO, " %s", roletype->role_str); 803 if (roletype->type != NULL) { 804 datum = roletype->type; 806 } else if (roletype->type_str != NULL) { 807 cil_log(CIL_INFO, " %s", roletype->type_str) [all...] |
cil_write_ast.c | 608 struct cil_roletype *roletype = (struct cil_roletype *)node->data; local 609 fprintf(cil_out, "(%s %s %s)\n", CIL_KEY_ROLETYPE, roletype->role_str, roletype->type_str); [all...] |
cil_post.c | 1341 struct cil_roletype *roletype = node->data; local [all...] |
cil_build_ast.c | 1688 struct cil_roletype *roletype = NULL; local [all...] |
cil_resolve_ast.c | 986 struct cil_roletype *roletype = current->data; local 991 rc = cil_resolve_name(current, roletype->role_str, CIL_SYM_ROLES, extra_args, &role_datum); 995 roletype->role = (struct cil_role*)role_datum; 997 rc = cil_resolve_name(current, roletype->type_str, CIL_SYM_TYPES, extra_args, &type_datum); 1001 roletype->type = (struct cil_type*)type_datum; [all...] |