sys_pivot_root [fs/namespace.c]
Changes the root file system of the current process. Arguments
eax | 217
ebx | Pointer to a null-terminated string specifying the path of the new root file system of the current process. This directory must not be on the same file system as the current root.
ecx | Pointer to a null-terminated string specifying the directory path where to move the root file system. This directory must not be on the same file system as the current root. This directory must be underneath the directory pointed by ebx, i.e. adding a non-zero number of /.. to the string pointed to by ecx must yield the same directory as the one pointed by ebx.
Return values If the system call succeeds the return value is 0. If the system call fails the return value is one of the following errno values:
`-EBUSY` | `Path pointed by ebx or by ecx are on the current root file system, or a file system is already mounted on the path pointed by ecx.`
`-EINVAL` | `Path pointed by ecx is not underneath the path pointed by ebx.`
`-ENOTDIR` | `Path pointed by ebx or by ecx is not a directory.`
`-EPERM` | `The current process does not have the administrator capability.`
Remarks n/a Compatibility n/a