Lines Matching refs:newargv
52 char *newargv[ARGV_MAX]; /* args for the fstype specific command */
115 newargv[newargc] = vfsbuf.vfs_special;
141 newargv[newargc++] = "-o";
142 newargv[newargc++] = optarg;
145 newargv[newargc++] = "-?";
149 newargv[newargc] = (char *)malloc(3);
150 sprintf(newargv[newargc++], "-%c", arg);
152 newargv[newargc++] = optarg;
195 newargv[newargc] = vfsbuf.vfs_special;
199 for (i = 2; newargv[i]; i++)
200 printf("%s\n", newargv[i]);
223 newargv[newargc] = argv[optind];
224 special = newargv[newargc];
235 for (i = 2; newargv[i]; i++)
236 printf("%s ", newargv[i]);
330 newargv[1] = &full_path[FULLPATH_MAX];
331 while (*newargv[1]-- != '/');
332 newargv[1] += 2;
335 execv(full_path, &newargv[1]);
337 newargv[0] = "sh";
338 newargv[1] = full_path;
339 execv("/sbin/sh", &newargv[0]);