/third_party/selinux/libsepol/cil/src/ |
D | cil_internal.h | 470 char *user_str; member 477 char *user_str; member 483 char *user_str; member 489 char *user_str; member 496 char *user_str; member 722 char *user_str; member
|
D | cil_copy_ast.c | 446 new->user_str = orig->user_str; in cil_copy_userrole() 461 new->user_str = orig->user_str; in cil_copy_userlevel() 481 new->user_str = orig->user_str; in cil_copy_userrange() 502 new->user_str = orig->user_str; in cil_copy_userprefix() 1059 new->user_str = data->user_str; in cil_copy_fill_context()
|
D | cil_write_ast.c | 362 fprintf(out, "%s ", datum_or_str(DATUM(context->user), context->user_str)); in write_context() 949 fprintf(out, "%s ", datum_or_str(userrole->user, userrole->user_str)); in cil_write_ast_node() 956 fprintf(out, "(userlevel %s ", userlevel->user_str); in cil_write_ast_node() 966 fprintf(out, "(userrange %s ", userrange->user_str); in cil_write_ast_node() 982 fprintf(out, "%s ", datum_or_str(DATUM(prefix->user), prefix->user_str)); in cil_write_ast_node() 989 fprintf(out, "%s ", datum_or_str(DATUM(selinuxuser->user), selinuxuser->user_str)); in cil_write_ast_node() 1000 fprintf(out, "%s ", datum_or_str(DATUM(selinuxuser->user), selinuxuser->user_str)); in cil_write_ast_node()
|
D | cil.c | 2125 (*context)->user_str = NULL; in cil_context_init() 2260 (*userrole)->user_str = NULL; in cil_userrole_init() 2270 (*userprefix)->user_str = NULL; in cil_userprefix_init() 2280 (*selinuxuser)->user_str = NULL; in cil_selinuxuser_init() 2758 (*usrlvl)->user_str = NULL; in cil_userlevel_init() 2767 (*userrange)->user_str = NULL; in cil_userrange_init()
|
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() 900 cil_log(CIL_ERR, "No roles given to the user %s\n", ctx->user_str); in __cil_verify_context() 933 ctx->range_str, ctx->user_str); in __cil_verify_context() 944 ctx->range_str, ctx->user_str); in __cil_verify_context()
|
D | cil_resolve_ast.c | 851 rc = cil_resolve_name(current, userrole->user_str, CIL_SYM_USERS, extra_args, &user_datum); in cil_resolve_userrole() 878 rc = cil_resolve_name(current, usrlvl->user_str, CIL_SYM_USERS, extra_args, &user_datum); in cil_resolve_userlevel() 931 rc = cil_resolve_name(current, userrange->user_str, CIL_SYM_USERS, extra_args, &user_datum); in cil_resolve_userrange() 982 rc = cil_resolve_name(current, userprefix->user_str, CIL_SYM_USERS, extra_args, &user_datum); in cil_resolve_userprefix() 1009 rc = cil_resolve_name(current, selinuxuser->user_str, CIL_SYM_USERS, extra_args, &user_datum); in cil_resolve_selinuxuser() 1856 rc = cil_resolve_name(current, context->user_str, CIL_SYM_USERS, extra_args, &user_datum); in cil_resolve_context()
|
D | cil_build_ast.c | 1476 usrlvl->user_str = parse_current->next->data; in cil_gen_userlevel() 1536 userrange->user_str = parse_current->next->data; in cil_gen_userrange() 1596 userprefix->user_str = parse_current->next->data; in cil_gen_userprefix() 1643 selinuxuser->user_str = parse_current->next->next->data; in cil_gen_selinuxuser() 1690 selinuxuser->user_str = parse_current->next->data; in cil_gen_selinuxuserdefault() 1846 userrole->user_str = parse_current->next->data; in cil_gen_userrole() 4120 context->user_str = user_node->data; in cil_fill_context()
|
/third_party/selinux/libsepol/cil/test/unit/ |
D | test_cil_copy_ast.c | 439 CuAssertStrEquals(tc, ((struct cil_userrole *)test_ast_node->data)->user_str, test_copy->user_str); in test_cil_copy_userrole() 983 CuAssertStrEquals(tc, test_copy->packet_context->user_str, in test_cil_copy_netifcon_nested() 984 ((struct cil_netifcon *)test_ast_node->data)->packet_context->user_str); in test_cil_copy_netifcon_nested() 1019 CuAssertStrEquals(tc, ((struct cil_context *)test_copy->data)->user_str, in test_cil_copy_fill_context() 1020 ((struct cil_context *)test_ast_node->data)->user_str); in test_cil_copy_fill_context() 1055 CuAssertStrEquals(tc, ((struct cil_context *)test_copy->data)->user_str, in test_cil_copy_fill_context_anonrange() 1056 ((struct cil_context *)test_ast_node->data)->user_str); in test_cil_copy_fill_context_anonrange()
|
/third_party/selinux/libsepol/src/ |
D | module_to_cil.c | 3218 char *user_str = NULL; in user_extra_to_cil() local 3239 matched = tokenize(tmp, ' ', 4, &user_str, &user, &prefix_str, &prefix); in user_extra_to_cil() 3248 if (*eol != ';' || strcmp(user_str, "user") || strcmp(prefix_str, "prefix")) { in user_extra_to_cil() 3259 free(user_str); in user_extra_to_cil() 3261 user = prefix = line = user_str = prefix_str = NULL; in user_extra_to_cil()
|