Lines Matching defs:newenv
583 char **newenv;
589 newenv = malloc(sizeof (*newenv) * (i + 1));
590 if (newenv == NULL)
597 newenv[i_new++] = env[i];
606 newenv[i_new++] = env[i];
610 newenv[i_new] = NULL;
612 return (newenv);
621 char **newenv;
627 newenv = malloc(sizeof (*newenv) * (i + 1));
628 if (newenv == NULL)
637 newenv[i_new++] = env[i];
640 newenv[i_new] = NULL;
642 return (newenv);
805 char **newenv;
858 newenv = approved_env(envp);
860 newenv = env_without_smf(envp);
861 if (newenv == NULL)
924 (void) execle(arg1, arg1, arg2, arg3, NULL, newenv);