Home
last modified time | relevance | path

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

/external/selinux/libsepol/src/
Dservices.c423 char **answer_list = NULL; in constraint_expr_eval_reason() local
698 answer_list = malloc(expr_count * sizeof(*answer_list)); in constraint_expr_eval_reason()
699 if (!answer_list) { in constraint_expr_eval_reason()
720 answer_list[answer_counter] = malloc(a_len + b_len + 8); in constraint_expr_eval_reason()
721 if (!answer_list[answer_counter]) { in constraint_expr_eval_reason()
726 memset(answer_list[answer_counter], '\0', a_len + b_len + 8); in constraint_expr_eval_reason()
728 sprintf(answer_list[answer_counter], "%s %s %s", a, in constraint_expr_eval_reason()
730 push(answer_list[answer_counter++]); in constraint_expr_eval_reason()
738 answer_list[answer_counter] = malloc(b_len + 8); in constraint_expr_eval_reason()
739 if (!answer_list[answer_counter]) { in constraint_expr_eval_reason()
[all …]