From: espie Date: Sat, 11 Jan 2014 19:23:39 +0000 (+0000) Subject: fchownat is allowed to return EOPNOTSUPP X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=24b07d143482b57523212dfc91de631e2c635471;p=openbsd fchownat is allowed to return EOPNOTSUPP okay guenther@ --- 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