Home
last modified time | relevance | path

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

/external/selinux/libsepol/src/
Dservices.c424 char **answer_list = NULL; in constraint_expr_eval_reason() local
699 answer_list = malloc(expr_count * sizeof(*answer_list)); in constraint_expr_eval_reason()
700 if (!answer_list) { in constraint_expr_eval_reason()
721 answer_list[answer_counter] = malloc(a_len + b_len + 8); in constraint_expr_eval_reason()
722 if (!answer_list[answer_counter]) { in constraint_expr_eval_reason()
727 memset(answer_list[answer_counter], '\0', a_len + b_len + 8); in constraint_expr_eval_reason()
729 sprintf(answer_list[answer_counter], "%s %s %s", a, in constraint_expr_eval_reason()
731 push(answer_list[answer_counter++]); in constraint_expr_eval_reason()
739 answer_list[answer_counter] = malloc(b_len + 8); in constraint_expr_eval_reason()
740 if (!answer_list[answer_counter]) { in constraint_expr_eval_reason()
[all …]