Changeset View
Changeset View
Standalone View
Standalone View
head/lib/libc/sys/chroot.2
Show All 22 Lines | |||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" @(#)chroot.2 8.1 (Berkeley) 6/4/93 | .\" @(#)chroot.2 8.1 (Berkeley) 6/4/93 | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd January 3, 2012 | .Dd March 30, 2020 | ||||
.Dt CHROOT 2 | .Dt CHROOT 2 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm chroot | .Nm chroot | ||||
.Nd change root directory | .Nd change root directory | ||||
.Sh LIBRARY | .Sh LIBRARY | ||||
.Lb libc | .Lb libc | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
▲ Show 20 Lines • Show All 76 Lines • ▼ Show 20 Lines | |||||
Too many symbolic links were encountered in translating the pathname. | Too many symbolic links were encountered in translating the pathname. | ||||
.It Bq Er EFAULT | .It Bq Er EFAULT | ||||
The | The | ||||
.Fa dirname | .Fa dirname | ||||
argument | argument | ||||
points outside the process's allocated address space. | points outside the process's allocated address space. | ||||
.It Bq Er EIO | .It Bq Er EIO | ||||
An I/O error occurred while reading from or writing to the file system. | An I/O error occurred while reading from or writing to the file system. | ||||
.It Bq Er EINTEGRITY | |||||
Corrupted data was detected while reading from the file system. | |||||
.El | .El | ||||
.Sh SEE ALSO | .Sh SEE ALSO | ||||
.Xr chdir 2 , | .Xr chdir 2 , | ||||
.Xr jail 2 | .Xr jail 2 | ||||
.Sh HISTORY | .Sh HISTORY | ||||
The | The | ||||
.Fn chroot | .Fn chroot | ||||
system call appeared in | system call appeared in | ||||
Show All 25 Lines |