From 24b07d143482b57523212dfc91de631e2c635471 Mon Sep 17 00:00:00 2001 From: espie Date: Sat, 11 Jan 2014 19:23:39 +0000 Subject: [PATCH] fchownat is allowed to return EOPNOTSUPP okay guenther@ --- lib/libc/sys/chmod.2 | 10 ++++++++-- 1 file 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 -- 2.20.1