summaryrefslogtreecommitdiff
path: root/lib/libc/sys/chroot.2
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2002-12-18 09:22:32 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2002-12-18 09:22:32 +0000
commit2faeeff4c9bb77cca44a977d96c1a9fc7af8d8a3 (patch)
treecb18f664ed0ee63bee30f6af9b148510b6e9663b /lib/libc/sys/chroot.2
parenta1096fe6dfb9dc2ec492a1421075a38d6d75bc02 (diff)
Notes
Diffstat (limited to 'lib/libc/sys/chroot.2')
-rw-r--r--lib/libc/sys/chroot.210
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/sys/chroot.2 b/lib/libc/sys/chroot.2
index 8c750c496213..78bdfb69a248 100644
--- a/lib/libc/sys/chroot.2
+++ b/lib/libc/sys/chroot.2
@@ -49,7 +49,7 @@
is the address of the pathname of a directory, terminated by an ASCII NUL.
The
.Fn chroot
-function causes
+system call causes
.Fa dirname
to become the root directory,
that is, the starting point for path searches of pathnames
@@ -87,9 +87,9 @@ is set to one (the default),
will fail with
.Er EPERM
if there are any directories open and the
-process is already subject to a
+process is already subject to the
.Fn chroot
-call.
+system call.
.Pp
Any other value for
.Ql kern.chroot_allow_open_directories
@@ -102,7 +102,7 @@ is set to indicate an error.
.Sh ERRORS
The
.Fn chroot
-function
+system call
will fail and the root directory will be unchanged if:
.Bl -tag -width Er
.It Bq Er ENOTDIR
@@ -131,5 +131,5 @@ An I/O error occurred while reading from or writing to the file system.
.Sh HISTORY
The
.Fn chroot
-function call appeared in
+system call appeared in
.Bx 4.2 .