summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2004-01-24 16:17:50 +0000
committerjmc <jmc@openbsd.org>2004-01-24 16:17:50 +0000
commit6e3d6d5f8af8a35f3c76afd8d196299d811cab5c (patch)
treea8f9312ec88ca83f59005c75160944bcd88eab03 /lib/libc
parentDo *not* set scsi_link flags to SCSIDEBUG_LEVEL for every ahc device. (diff)
downloadwireguard-openbsd-6e3d6d5f8af8a35f3c76afd8d196299d811cab5c.tar.xz
wireguard-openbsd-6e3d6d5f8af8a35f3c76afd8d196299d811cab5c.zip
document EPERM; from Pedro Martelletto;
ok millert@
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/chroot.24
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/sys/chroot.2 b/lib/libc/sys/chroot.2
index 680267a0262..4eea335cc9d 100644
--- a/lib/libc/sys/chroot.2
+++ b/lib/libc/sys/chroot.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: chroot.2,v 1.11 2003/06/02 20:18:39 millert Exp $
+.\" $OpenBSD: chroot.2,v 1.12 2004/01/24 16:17:50 jmc Exp $
.\" $NetBSD: chroot.2,v 1.7 1995/02/27 12:32:12 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -94,6 +94,8 @@ Too many symbolic links were encountered in translating the pathname.
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 EPERM
+The caller is not the superuser.
.El
.Sh SEE ALSO
.Xr chdir 2