summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2004-01-24 16:17:51 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2004-01-24 16:17:51 +0000
commit2c99a1369256d038d06cb3342cf2b1567d87e26e (patch)
tree74b34fbb2c2550080c66df7d289c9489e2620279
parenta40cb170124f5fc9e25d45a1bd3d0e2861a6ff5c (diff)
document EPERM; from Pedro Martelletto;
ok millert@
-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