summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2014-01-11 19:23:39 +0000
committerespie <espie@openbsd.org>2014-01-11 19:23:39 +0000
commit24b07d143482b57523212dfc91de631e2c635471 (patch)
tree6c998fe30d2a2f6870078917bacbe18a3bed13b8 /lib/libc
parenttypos, from Markus Lude, thx! (diff)
downloadwireguard-openbsd-24b07d143482b57523212dfc91de631e2c635471.tar.xz
wireguard-openbsd-24b07d143482b57523212dfc91de631e2c635471.zip
fchownat is allowed to return EOPNOTSUPP
okay guenther@
Diffstat (limited to 'lib/libc')
-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