summaryrefslogtreecommitdiff
path: root/lib/libc/sys/chroot.2
diff options
context:
space:
mode:
authorGiorgos Keramidas <keramida@FreeBSD.org>2002-07-15 20:59:12 +0000
committerGiorgos Keramidas <keramida@FreeBSD.org>2002-07-15 20:59:12 +0000
commit1f2cec106f598418fc7c7911c5f960d3c400a032 (patch)
tree0740bbdd50b4e24e3b8d60b613944f1de59b7db7 /lib/libc/sys/chroot.2
parentab7e1a571298edd620866e971546c7e3d53b298b (diff)
Notes
Diffstat (limited to 'lib/libc/sys/chroot.2')
-rw-r--r--lib/libc/sys/chroot.29
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/libc/sys/chroot.2 b/lib/libc/sys/chroot.2
index 3b4d98dcace2..cae864d9134c 100644
--- a/lib/libc/sys/chroot.2
+++ b/lib/libc/sys/chroot.2
@@ -47,8 +47,9 @@
.Sh DESCRIPTION
.Fa Dirname
is the address of the pathname of a directory, terminated by an ASCII NUL.
-.Fn Chroot
-causes
+The
+.Fn chroot
+function causes
.Fa dirname
to become the root directory,
that is, the starting point for path searches of pathnames
@@ -99,7 +100,9 @@ a value of -1 is returned and
.Va errno
is set to indicate an error.
.Sh ERRORS
-.Fn Chroot
+The
+.Fn chroot
+function
will fail and the root directory will be unchanged if:
.Bl -tag -width Er
.It Bq Er ENOTDIR