Searched refs:newroot (Results 1 – 4 of 4) sorted by relevance
46 char *newroot = *toys.optargs, **cmdline = toys.optargs+1; in switch_root_main() local62 if (chdir(newroot) || stat(".", &st1) || stat("/", &st2) || in switch_root_main()65 error_msg("bad newroot '%s'", newroot); in switch_root_main()
224 struct Curl_tree **newroot) in Curl_splayremovebyaddr() argument247 *newroot = t; /* return the same root */ in Curl_splayremovebyaddr()284 *newroot = x; /* store new root pointer */ in Curl_splayremovebyaddr()
53 struct Curl_tree **newroot);
1196 int ret, oldroot, newroot; in enter_pivot_root() local1208 newroot = open(j->chrootdir, O_DIRECTORY | O_RDONLY | O_CLOEXEC); in enter_pivot_root()1209 if (newroot < 0) in enter_pivot_root()1245 if (fchdir(newroot)) in enter_pivot_root()1249 if (close(newroot)) in enter_pivot_root()