Lines Matching refs:environ
429 …if (environ && envv != (char**)environ && (envv || (flags & PROC_PARANOID) || argv && (environ[0][… in procopen()
625 environ = 0; in procopen()
633 p = environ; in procopen()
635 if (!(oenviron = (char**)memdup(environ, (p - environ) * sizeof(char*)))) in procopen()
639 if (argv && envv != (char**)environ) in procopen()
642 if (!newenv && environ[0][0] == '_' && environ[0][1] == '=') in procopen()
643 oenviron0 = environ[0]; in procopen()
653 if ((p = envv) && p != (char**)environ) in procopen()
665 if ((debug & PROC_OPT_ENVIRONMENT) && (p = environ)) in procopen()
683 execve(path, p, environ); in procopen()
685 else if ((proc->pid = spawnveg(path, p, environ, proc->pgrp)) != -1) in procopen()
711 execve(env + 2, p, environ); in procopen()
714 proc->pid = spawnveg(env + 2, p, environ, proc->pgrp); in procopen()
728 environ = 0; in procopen()
735 environ[0] = oenviron0; in procopen()