Home
last modified time | relevance | path

Searched refs:user_str (Results 1 – 11 of 11) sorted by relevance

/external/selinux/libsepol/cil/src/
Dcil_internal.h419 char *user_str; member
426 char *user_str; member
432 char *user_str; member
438 char *user_str; member
445 char *user_str; member
642 char *user_str; member
Dcil_tree.c547 } else if (context->user_str != NULL) { in cil_tree_print_context()
548 cil_log(CIL_INFO, " %s", context->user_str); in cil_tree_print_context()
646 } else if (userrole->user_str != NULL) { in cil_tree_print_node()
647 cil_log(CIL_INFO, " %s", userrole->user_str); in cil_tree_print_node()
663 if (usrlvl->user_str != NULL) { in cil_tree_print_node()
664 cil_log(CIL_INFO, " %s", usrlvl->user_str); in cil_tree_print_node()
682 if (userrange->user_str != NULL) { in cil_tree_print_node()
683 cil_log(CIL_INFO, " %s", userrange->user_str); in cil_tree_print_node()
Dcil_copy_ast.c398 new->user_str = orig->user_str; in cil_copy_userrole()
413 new->user_str = orig->user_str; in cil_copy_userlevel()
433 new->user_str = orig->user_str; in cil_copy_userrange()
454 new->user_str = orig->user_str; in cil_copy_userprefix()
965 new->user_str = data->user_str; in cil_copy_fill_context()
Dcil.c1757 (*context)->user_str = NULL; in cil_context_init()
1891 (*userrole)->user_str = NULL; in cil_userrole_init()
1901 (*userprefix)->user_str = NULL; in cil_userprefix_init()
1911 (*selinuxuser)->user_str = NULL; in cil_selinuxuser_init()
2334 (*usrlvl)->user_str = NULL; in cil_userlevel_init()
2343 (*userrange)->user_str = NULL; in cil_userrange_init()
Dcil_verify.c738 ctx->role_str, ctx->user_str); in __cil_verify_context()
743 cil_log(CIL_ERR, "No roles given to the user %s\n", ctx->user_str); in __cil_verify_context()
776 ctx->range_str, ctx->user_str); in __cil_verify_context()
787 ctx->range_str, ctx->user_str); in __cil_verify_context()
Dcil_resolve_ast.c740 rc = cil_resolve_name(current, userrole->user_str, CIL_SYM_USERS, extra_args, &user_datum); in cil_resolve_userrole()
772 rc = cil_resolve_name(current, usrlvl->user_str, CIL_SYM_USERS, extra_args, &user_datum); in cil_resolve_userlevel()
815 rc = cil_resolve_name(current, userrange->user_str, CIL_SYM_USERS, extra_args, &user_datum); in cil_resolve_userrange()
856 rc = cil_resolve_name(current, userprefix->user_str, CIL_SYM_USERS, extra_args, &user_datum); in cil_resolve_userprefix()
873 rc = cil_resolve_name(current, selinuxuser->user_str, CIL_SYM_USERS, extra_args, &user_datum); in cil_resolve_selinuxuser()
1654 rc = cil_resolve_name(current, context->user_str, CIL_SYM_USERS, extra_args, &user_datum); in cil_resolve_context()
1656 cil_log(CIL_ERR, "Unable to resolve name: %s\n", context->user_str); in cil_resolve_context()
Dcil_policy.c445 char *user_str = ((struct cil_symtab_datum*)context->user)->name; in cil_context_to_policy() local
450 fprintf(file_arr[file_index], "%s:%s:%s:", user_str, role_str, type_str); in cil_context_to_policy()
Dcil_build_ast.c1226 usrlvl->user_str = parse_current->next->data; in cil_gen_userlevel()
1287 userrange->user_str = parse_current->next->data; in cil_gen_userrange()
1348 userprefix->user_str = parse_current->next->data; in cil_gen_userprefix()
1396 selinuxuser->user_str = parse_current->next->next->data; in cil_gen_selinuxuser()
1444 selinuxuser->user_str = parse_current->next->data; in cil_gen_selinuxuserdefault()
1603 userrole->user_str = parse_current->next->data; in cil_gen_userrole()
3726 context->user_str = user_node->data; in cil_fill_context()
/external/toybox/toys/pending/
Dtop.c556 char *user_str, user_buf[20]; in print_procs() local
612 user_str = user->pw_name; in print_procs()
615 user_str = user_buf; in print_procs()
622 j = sprintf(toybuf, "%5d %5d %-8.8s %-4s",proc->pid, proc->ppid, user_str, in print_procs()
/external/selinux/libsepol/cil/test/unit/
Dtest_cil_copy_ast.c439 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/libvncserver/x11vnc/
Duser.c65 static char **user_list(char *user_str);
250 static char **user_list(char *user_str) { in user_list() argument
254 p = user_str; in user_list()
263 p = strtok(user_str, ","); in user_list()