/external/selinux/libsepol/cil/src/ |
cil_tree.c | 803 struct cil_roletype *roletype = node->data; local 805 cil_log(CIL_INFO, "ROLETYPE:"); 807 if (roletype->role != NULL) { 808 datum = roletype->role; 810 } else if (roletype->role_str != NULL) { 811 cil_log(CIL_INFO, " %s", roletype->role_str); 814 if (roletype->type != NULL) { 815 datum = roletype->type; 817 } else if (roletype->type_str != NULL) { 818 cil_log(CIL_INFO, " %s", roletype->type_str) [all...] |
android.c | 358 struct cil_roletype *roletype = (struct cil_roletype *)node->data; local 360 if (roletype->role) { 364 key = roletype->type_str; 366 roletype->type_str = __cil_attrib_get_versname(key, args->num); 629 /* Yes, this is needed if we support roletype in non-platform policy.
|
cil.c | 169 CIL_KEY_ROLETYPE = cil_strpool_add("roletype"); [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 | 1349 struct cil_roletype *roletype = node->data; local [all...] |
cil_build_ast.h | 100 void cil_destroy_roletype(struct cil_roletype *roletype);
|
cil_internal.h | 986 void cil_roletype_init(struct cil_roletype **roletype);
|
cil_build_ast.c | 1688 struct cil_roletype *roletype = NULL; local [all...] |
cil_resolve_ast.c | 1034 struct cil_roletype *roletype = current->data; local 1039 rc = cil_resolve_name(current, roletype->role_str, CIL_SYM_ROLES, extra_args, &role_datum); 1043 roletype->role = (struct cil_role*)role_datum; 1045 rc = cil_resolve_name(current, roletype->type_str, CIL_SYM_TYPES, extra_args, &type_datum); 1049 roletype->type = (struct cil_type*)type_datum; [all...] |