Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/sys While we're here, document EPERM.



details:   https://anonhg.NetBSD.org/src/rev/d5881868e2fd
branches:  trunk
changeset: 542142:d5881868e2fd
user:      kleink <kleink%NetBSD.org@localhost>
date:      Wed Jan 22 15:28:37 2003 +0000

description:
While we're here, document EPERM.

diffstat:

 lib/libc/sys/chroot.2 |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r 2701252a9096 -r d5881868e2fd lib/libc/sys/chroot.2
--- a/lib/libc/sys/chroot.2     Wed Jan 22 15:24:03 2003 +0000
+++ b/lib/libc/sys/chroot.2     Wed Jan 22 15:28:37 2003 +0000
@@ -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 @@
 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 @@
 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



Home | Main Index | Thread Index | Old Index