summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2008-06-10 16:37:58 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2008-06-10 16:37:58 +0000
commit04f420dbfd90c470600ab99a5532deb708f3c2bd (patch)
tree29444cb18971ca746b1869abddbb97d4d15a118b /lib
parent33d6639876fa6e049bb9e22d4a03afa993e6bf11 (diff)
document access(2) can return EPERM; noted by Tim van der Molen; ok millert@
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/access.26
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/sys/access.2 b/lib/libc/sys/access.2
index c1391ff1a4c..213b40b146e 100644
--- a/lib/libc/sys/access.2
+++ b/lib/libc/sys/access.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: access.2,v 1.14 2008/06/10 03:19:12 otto Exp $
+.\" $OpenBSD: access.2,v 1.15 2008/06/10 16:37:57 otto Exp $
.\" $NetBSD: access.2,v 1.7 1995/02/27 12:31:44 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -119,6 +119,10 @@ than the owner have permission checked with respect to the
mode bits, and all others have permissions checked with respect to the
.Dq other
mode bits.
+.It Bq Er EPERM
+Write access has been requested and the named file has its immutable
+flag set (see
+.Xr chflags 2 ) .
.It Bq Er EFAULT
.Fa path
points outside the process's allocated address space.