Lines Matching refs:reachable
159 char ** reachable,
246 /* Check for a match in the reachable list. */
247 rc = find_partialcon(reachable, nreach, start);
397 char **reachable = NULL;
416 /* Determine the set of reachable contexts for the user. */
417 rc = security_compute_user(fromcon, user, &reachable);
421 for (ptr = reachable; *ptr; ptr++)
443 rc = get_context_order(fp, fromcon, reachable, nreach, ordering,
457 rc = get_context_order(fp, fromcon, reachable, nreach, ordering,
477 co[i].con = reachable[i];
482 reachable[i] = co[i].con;
488 free(reachable[i]);
489 reachable[nordered] = NULL;
495 *list = reachable;
497 freeconary(reachable);
506 /* Unable to determine a reachable context list, try to fall back to
509 freeconary(reachable);
510 reachable = malloc(2 * sizeof(char *));
511 if (!reachable) {
515 reachable[0] = reachable[1] = 0;
516 rc = get_failsafe_context(user, &reachable[0]);
518 freeconary(reachable);
519 reachable = NULL;