Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Sep 2024 00:55:08 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: f7eb6b134db8 - stable/14 - open(2): Extend EINVAL's description
Message-ID:  <202409010055.4810t8f4059411@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch stable/14 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=f7eb6b134db8fed6a6851b6a3d00a2ea0e11eadd

commit f7eb6b134db8fed6a6851b6a3d00a2ea0e11eadd
Author:     Jose Luis Duran <jlduran@gmail.com>
AuthorDate: 2024-08-27 02:23:14 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-09-01 00:53:36 +0000

    open(2): Extend EINVAL's description
    
    PR:     281033
    
    (cherry picked from commit 02c23c3b5ac9c9c1115c8b892034bb5d67b05c06)
---
 lib/libc/sys/open.2 | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/lib/libc/sys/open.2 b/lib/libc/sys/open.2
index 220561cc5683..4cdceb336532 100644
--- a/lib/libc/sys/open.2
+++ b/lib/libc/sys/open.2
@@ -25,7 +25,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd January 29, 2024
+.Dd August 25, 2024
 .Dt OPEN 2
 .Os
 .Sh NAME
@@ -580,6 +580,12 @@ and
 .Dv O_EXEC
 or
 .Dv O_SEARCH .
+.It Bq Er EINVAL
+.Dv O_CREAT
+is specified,
+and the last component of the
+.Fa path
+argument is invalid on the file system on which the file is being created.
 .It Bq Er EBADF
 The
 .Fa path


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202409010055.4810t8f4059411>