summaryrefslogtreecommitdiff
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorwiz <wiz@NetBSD.org>2017-10-30 15:48:38 +0000
committerwiz <wiz@NetBSD.org>2017-10-30 15:48:38 +0000
commit0aa871886055c44570f33a7ebbc65bfaa175f8a2 (patch)
treeec6d53895b4696751794a289d1451390c904a402 /lib/libc/sys
parent5486979c6616ae4d30ebec45fc6e1520b2bbe652 (diff)
Sort errors.
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/chroot.224
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/libc/sys/chroot.2 b/lib/libc/sys/chroot.2
index 576cbf01f09..f24a530b553 100644
--- a/lib/libc/sys/chroot.2
+++ b/lib/libc/sys/chroot.2
@@ -1,4 +1,4 @@
-.\" $NetBSD: chroot.2,v 1.24 2017/10/25 17:20:52 abhinav Exp $
+.\" $NetBSD: chroot.2,v 1.25 2017/10/30 15:48:38 wiz Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -80,8 +80,15 @@ is set to indicate an error.
.Fn chroot
will fail and the root directory will be unchanged if:
.Bl -tag -width Er
-.It Bq Er ENOTDIR
-A component of the path name is not a directory.
+.It Bq Er EACCES
+Search permission is denied for any component of the path name.
+.It Bq Er EFAULT
+.Fa dirname
+points outside the process's allocated address space.
+.It Bq Er EIO
+An I/O error occurred while reading from or writing to the file system.
+.It Bq Er ELOOP
+Too many symbolic links were encountered in translating the pathname.
.It Bq Er ENAMETOOLONG
A component of a pathname exceeded
.Brq Dv NAME_MAX
@@ -90,15 +97,8 @@ characters, or an entire path name exceeded
characters.
.It Bq Er ENOENT
The named directory does not exist.
-.It Bq Er EACCES
-Search permission is denied for any component of the path name.
-.It Bq Er ELOOP
-Too many symbolic links were encountered in translating the pathname.
-.It Bq Er EFAULT
-.Fa dirname
-points outside the process's allocated address space.
-.It Bq Er EIO
-An I/O error occurred while reading from or writing to the file system.
+.It Bq Er ENOTDIR
+A component of the path name is not a directory.
.It Bq Er EPERM
The effective user ID of the calling process is not the super-user.
.El