Lines Matching refs:new_root
4869 /* make sure we can reach put_old from new_root */
4881 /* mount new_root on / */
4899 * makes new_root as the new root file system of the current process, and sets
4900 * root/cwd of all processes which had them on the current root to new_root.
4903 * The new_root and put_old must be directories, and must not be on the
4905 * underneath new_root, i.e. adding a non-zero number of /.. to the string
4906 * pointed to by put_old must yield the same directory as new_root. No other
4907 * file system may be mounted on put_old. After all, new_root is a mountpoint.
4921 SYSCALL_DEFINE2(pivot_root, const char __user *, new_root,
4928 error = user_path_at(AT_FDCWD, new_root,