/external/selinux/libsepol/cil/src/ |
D | cil_internal.h | 460 char *user_str; member 467 char *user_str; member 473 char *user_str; member 479 char *user_str; member 486 char *user_str; member 712 char *user_str; member
|
D | cil_write_ast.c | 345 char *user_str, *role_str, *type_str; in cil_unfill_context() local 348 user_str = context->user_str; in cil_unfill_context() 363 len = strlen(user_str) + strlen(role_str) + strlen(type_str) in cil_unfill_context() 366 if (sprintf(*out_str, "(%s %s %s %s)", user_str, role_str, type_str, range_str) < 0) { in cil_unfill_context() 544 fprintf(cil_out, "(%s %s %s)\n", CIL_KEY_USERROLE, userrole->user_str, in cil_write_userrole() 555 usr = usrlvl->user_str; in cil_write_userlevel() 581 usr = usrrng->user_str; in cil_write_userrange()
|
D | cil_tree.c | 633 } else if (context->user_str != NULL) { in cil_tree_print_context() 634 cil_log(CIL_INFO, " %s", context->user_str); in cil_tree_print_context() 745 } else if (userrole->user_str != NULL) { in cil_tree_print_node() 746 cil_log(CIL_INFO, " %s", userrole->user_str); in cil_tree_print_node() 763 if (usrlvl->user_str != NULL) { in cil_tree_print_node() 764 cil_log(CIL_INFO, " %s", usrlvl->user_str); in cil_tree_print_node() 782 if (userrange->user_str != NULL) { in cil_tree_print_node() 783 cil_log(CIL_INFO, " %s", userrange->user_str); in cil_tree_print_node()
|
D | cil_copy_ast.c | 437 new->user_str = orig->user_str; in cil_copy_userrole() 452 new->user_str = orig->user_str; in cil_copy_userlevel() 472 new->user_str = orig->user_str; in cil_copy_userrange() 493 new->user_str = orig->user_str; in cil_copy_userprefix() 1067 new->user_str = data->user_str; in cil_copy_fill_context()
|
D | cil_verify.c | 748 cil_log(CIL_ERR, "Role %s is invalid for user %s\n", ctx->role_str, ctx->user_str); in __cil_verify_context() 753 cil_log(CIL_ERR, "No roles given to the user %s\n", ctx->user_str); in __cil_verify_context() 786 ctx->range_str, ctx->user_str); in __cil_verify_context() 797 ctx->range_str, ctx->user_str); in __cil_verify_context()
|
D | cil.c | 1869 (*context)->user_str = NULL; in cil_context_init() 2003 (*userrole)->user_str = NULL; in cil_userrole_init() 2013 (*userprefix)->user_str = NULL; in cil_userprefix_init() 2023 (*selinuxuser)->user_str = NULL; in cil_selinuxuser_init() 2500 (*usrlvl)->user_str = NULL; in cil_userlevel_init() 2509 (*userrange)->user_str = NULL; in cil_userrange_init()
|
D | cil_resolve_ast.c | 831 rc = cil_resolve_name(current, userrole->user_str, CIL_SYM_USERS, extra_args, &user_datum); in cil_resolve_userrole() 858 rc = cil_resolve_name(current, usrlvl->user_str, CIL_SYM_USERS, extra_args, &user_datum); in cil_resolve_userlevel() 911 rc = cil_resolve_name(current, userrange->user_str, CIL_SYM_USERS, extra_args, &user_datum); in cil_resolve_userrange() 962 rc = cil_resolve_name(current, userprefix->user_str, CIL_SYM_USERS, extra_args, &user_datum); in cil_resolve_userprefix() 989 rc = cil_resolve_name(current, selinuxuser->user_str, CIL_SYM_USERS, extra_args, &user_datum); in cil_resolve_selinuxuser() 1832 rc = cil_resolve_name(current, context->user_str, CIL_SYM_USERS, extra_args, &user_datum); in cil_resolve_context()
|
D | cil_build_ast.c | 1412 usrlvl->user_str = parse_current->next->data; in cil_gen_userlevel() 1472 userrange->user_str = parse_current->next->data; in cil_gen_userrange() 1532 userprefix->user_str = parse_current->next->data; in cil_gen_userprefix() 1579 selinuxuser->user_str = parse_current->next->next->data; in cil_gen_selinuxuser() 1626 selinuxuser->user_str = parse_current->next->data; in cil_gen_selinuxuserdefault() 1782 userrole->user_str = parse_current->next->data; in cil_gen_userrole() 4119 context->user_str = user_node->data; in cil_fill_context()
|
/external/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()
|
/external/selinux/libsepol/src/ |
D | module_to_cil.c | 3230 char *user_str = NULL; in user_extra_to_cil() local 3251 matched = tokenize(tmp, ' ', 4, &user_str, &user, &prefix_str, &prefix); in user_extra_to_cil() 3260 if (*eol != ';' || strcmp(user_str, "user") || strcmp(prefix_str, "prefix")) { in user_extra_to_cil() 3271 free(user_str); in user_extra_to_cil() 3273 user = prefix = line = user_str = prefix_str = NULL; in user_extra_to_cil()
|