Home
last modified time | relevance | path

Searched refs:newroot (Results 1 – 4 of 4) sorted by relevance

/external/toybox/toys/other/
Dswitch_root.c46 char *newroot = *toys.optargs, **cmdline = toys.optargs+1; in switch_root_main() local
62 if (chdir(newroot) || stat(".", &st1) || stat("/", &st2) || in switch_root_main()
65 error_msg("bad newroot '%s'", newroot); in switch_root_main()
/external/curl/lib/
Dsplay.c224 struct Curl_tree **newroot) in Curl_splayremovebyaddr() argument
247 *newroot = t; /* return the same root */ in Curl_splayremovebyaddr()
284 *newroot = x; /* store new root pointer */ in Curl_splayremovebyaddr()
Dsplay.h53 struct Curl_tree **newroot);
/external/minijail/
Dlibminijail.c1196 int ret, oldroot, newroot; in enter_pivot_root() local
1208 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()