summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2014-01-11 19:23:40 +0000
committerMarc Espie <espie@cvs.openbsd.org>2014-01-11 19:23:40 +0000
commit6400c98553afb11054e8eec4140bc86cd8f98019 (patch)
treed3193ea8d09e208e1f885433cf6e8b1a8cfd1493 /lib
parent972396fe0b6da498dc57035405d0f37ac3b98954 (diff)
fchownat is allowed to return EOPNOTSUPP
okay guenther@
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/chmod.210
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/libc/sys/chmod.2 b/lib/libc/sys/chmod.2
index 3f601608842..9c5c10b9946 100644
--- a/lib/libc/sys/chmod.2
+++ b/lib/libc/sys/chmod.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: chmod.2,v 1.23 2013/07/17 05:42:11 schwarze Exp $
+.\" $OpenBSD: chmod.2,v 1.24 2014/01/11 19:23:39 espie Exp $
.\" $NetBSD: chmod.2,v 1.7 1995/02/27 12:32:06 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)chmod.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: July 17 2013 $
+.Dd $Mdocdate: January 11 2014 $
.Dt CHMOD 2
.Os
.Sh NAME
@@ -220,6 +220,12 @@ The
argument specifies a relative path and the
.Fa fd
argument is a valid file descriptor but it does not reference a directory.
+.It Bq Er EOPNOTSUPP
+The
+.Fa flag
+argument specifies
+.Dv AT_SYMLINK_NOFOLLOW
+on a symbolic link and the file system does not support that operation.
.It Bq Er EACCES
The
.Fa path