While we're here, document EPERM.

This commit is contained in:
kleink 2003-01-22 15:28:37 +00:00
parent 75adcdd6f1
commit 35a8bdf8fa
1 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: chroot.2,v 1.18 2003/01/22 15:24:03 kleink Exp $
.\" $NetBSD: chroot.2,v 1.19 2003/01/22 15:28:37 kleink Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -102,6 +102,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 effective user ID of the calling process is not the super-user.
.El
.Pp
.Fn fchroot
@ -120,6 +122,8 @@ An I/O error occurred while reading from or writing to the file system.
The argument
.Fa fd
does not reference a directory.
.It Bq Er EPERM
The effective user ID of the calling process is not the super-user.
.El
.Sh SEE ALSO
.Xr chdir 2