Searched refs:DEF_PATH (Results 1 – 4 of 4) sorted by relevance
45 #define DEF_PATH "PATH=/usr/sbin:/usr/bin" macro67 glob_envp[0] = startd_alloc((unsigned)(strlen(DEF_PATH)+2)); in init_env()68 (void) strcpy(glob_envp[0], DEF_PATH); in init_env()167 strncmp(*p, DEF_PATH, strlen(DEF_PATH)) != 0) { in find_dup()
131 #define DEF_PATH "/usr/sbin:/usr/bin" macro1205 if ((estr = add_env("PATH", DEF_PATH)) == NULL) in prep_env()
302 #define DEF_PATH "/usr/bin:" /* same as PATH */ macro2254 (void) strlcat(path, DEF_PATH, sizeof (path)); in establish_user_environment()
498 #define DEF_PATH "PATH=/usr/sbin:/usr/bin" macro1944 glob_envp[0] = malloc((unsigned)(strlen(DEF_PATH)+2)); in init_env()1945 (void) strcpy(glob_envp[0], DEF_PATH); in init_env()