summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/chroot.2
diff options
context:
space:
mode:
authoraaron <aaron@openbsd.org>2000-10-18 05:12:06 +0000
committeraaron <aaron@openbsd.org>2000-10-18 05:12:06 +0000
commitea418ffe85da8239e30bb1c3e28466cf6b8f685e (patch)
tree01651b197bba18ec88ec6a378fec58207d2f3632 /lib/libc/sys/chroot.2
parentget the bounds checking right for the data used in copyout() in several (diff)
downloadwireguard-openbsd-ea418ffe85da8239e30bb1c3e28466cf6b8f685e.tar.xz
wireguard-openbsd-ea418ffe85da8239e30bb1c3e28466cf6b8f685e.zip
Another round of man page cleanup, this time to remove more hard sentence
breaks and getting rid of short lines, making these files easier to work with.
Diffstat (limited to 'lib/libc/sys/chroot.2')
-rw-r--r--lib/libc/sys/chroot.211
1 files changed, 5 insertions, 6 deletions
diff --git a/lib/libc/sys/chroot.2 b/lib/libc/sys/chroot.2
index cd7b6eadbb1..9fbfd97ee32 100644
--- a/lib/libc/sys/chroot.2
+++ b/lib/libc/sys/chroot.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: chroot.2,v 1.9 2000/04/15 11:46:03 aaron Exp $
+.\" $OpenBSD: chroot.2,v 1.10 2000/10/18 05:12:08 aaron Exp $
.\" $NetBSD: chroot.2,v 1.7 1995/02/27 12:32:12 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -52,9 +52,8 @@ NUL.
.Fn chroot
causes
.Fa dirname
-to become the root directory,
-that is, the starting point for path searches of pathnames
-beginning with
+to become the root directory, that is, the starting point for path
+searches of pathnames beginning with
.Ql / .
.Pp
In order for a directory to become the root directory
@@ -72,8 +71,8 @@ tree than the altered root directory.
.Pp
This call is restricted to the superuser.
.Sh RETURN VALUES
-Upon successful completion, a value of 0 is returned. Otherwise,
-a value of \-1 is returned and
+Upon successful completion, a value of 0 is returned.
+Otherwise, a value of \-1 is returned and
.Va errno
is set to indicate an error.
.Sh ERRORS