Searched refs:role_str (Results 1 – 8 of 8) sorted by relevance
/third_party/selinux/libsepol/cil/src/ |
D | cil_internal.h | 472 char *role_str; member 522 char *role_str; member 724 char *role_str; member
|
D | cil_copy_ast.c | 447 new->role_str = orig->role_str; in cil_copy_userrole() 535 new->role_str = orig->role_str; in cil_copy_roletype() 1060 new->role_str = data->role_str; in cil_copy_fill_context()
|
D | cil_verify.c | 895 cil_log(CIL_ERR, "Role %s is invalid for user %s\n", ctx->role_str, ctx->user_str); in __cil_verify_context() 907 cil_log(CIL_ERR, "Type %s is invalid for role %s\n", ctx->type_str, ctx->role_str); in __cil_verify_context() 912 cil_log(CIL_ERR, "No types associated with role %s\n", ctx->role_str); in __cil_verify_context()
|
D | cil_write_ast.c | 363 fprintf(out, "%s ", datum_or_str(DATUM(context->role), context->role_str)); in write_context() 950 fprintf(out, "%s", datum_or_str(userrole->role, userrole->role_str)); in cil_write_ast_node() 1029 fprintf(out, "%s ", datum_or_str(DATUM(roletype->role), roletype->role_str)); in cil_write_ast_node()
|
D | cil.c | 2118 (*context)->role_str = NULL; in cil_context_init() 2253 (*userrole)->role_str = NULL; in cil_userrole_init() 2281 (*roletype)->role_str = NULL; in cil_roletype_init()
|
D | cil_resolve_ast.c | 842 rc = cil_resolve_name(current, userrole->role_str, CIL_SYM_ROLES, extra_args, &role_datum); in cil_resolve_userrole() 1042 rc = cil_resolve_name(current, roletype->role_str, CIL_SYM_ROLES, extra_args, &role_datum); in cil_resolve_roletype() 1856 rc = cil_resolve_name(current, context->role_str, CIL_SYM_ROLES, extra_args, &role_datum); in cil_resolve_context()
|
D | cil_build_ast.c | 1800 roletype->role_str = parse_current->next->data; in cil_gen_roletype() 1847 userrole->role_str = parse_current->next->next->data; in cil_gen_userrole() 4121 context->role_str = user_node->next->data; in cil_fill_context()
|
/third_party/selinux/libsepol/cil/test/unit/ |
D | test_cil_copy_ast.c | 440 CuAssertStrEquals(tc, ((struct cil_userrole *)test_ast_node->data)->role_str, test_copy->role_str); in test_cil_copy_userrole() 985 CuAssertStrEquals(tc, test_copy->packet_context->role_str, in test_cil_copy_netifcon_nested() 986 ((struct cil_netifcon *)test_ast_node->data)->packet_context->role_str); in test_cil_copy_netifcon_nested() 1021 CuAssertStrEquals(tc, ((struct cil_context *)test_copy->data)->role_str, in test_cil_copy_fill_context() 1022 ((struct cil_context *)test_ast_node->data)->role_str); in test_cil_copy_fill_context() 1057 CuAssertStrEquals(tc, ((struct cil_context *)test_copy->data)->role_str, in test_cil_copy_fill_context_anonrange() 1058 ((struct cil_context *)test_ast_node->data)->role_str); in test_cil_copy_fill_context_anonrange()
|