Lines Matching refs:env
581 approved_env(char **env)
586 for (i = 0; env[i] != NULL; ++i)
595 for (i = 0; env[i] != NULL; ++i) {
596 if (strncmp(env[i], "_INIT_", sizeof ("_INIT_") - 1) == 0) {
597 newenv[i_new++] = env[i];
604 if (env[i][l] == '=' &&
605 strncmp(env[i], evars_to_pass[j], l) == 0)
606 newenv[i_new++] = env[i];
619 env_without_smf(char **env)
624 for (i = 0; env[i] != NULL; ++i)
633 for (i = 0; env[i] != NULL; ++i) {
634 if (strncmp(env[i], "SMF_", sizeof ("SMF_") - 1) == 0)
637 newenv[i_new++] = env[i];