From nobody Sun Sep 1 00:55:08 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WxD250D7Vz5MQt5; Sun, 01 Sep 2024 00:55:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WxD245xG9z49nG; Sun, 1 Sep 2024 00:55:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725152108; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=H6QZti04r7UlX/LmBD4Bn07rSNZDbbR7gVmL2xJiiio=; b=crC+xfFPEsybZon3c7bmJYQK+p8nGw++L2gyjDlwuOX3MCrJOG+nZFlV6ZHkxWd3mkREEz YKXFNqlvrDmi/SJefR6x2pBFLiS9YC6FaInR8yYn/Je2at2X3RoNejROBmQW38DCWRExet +k3C/msdFqR/27HjyZ/wroJICMtGRD7KfFRjTzX0aVXMg4/okYmqAj+qtGAwR0G4kKr8Z7 YFM0vSGsE/yIb3+cqxfjIprvieAeoWguOPG4XMrt/swwIq7aLJ7DAteeh18Jz79PhuofCc +buVaqutJOGK7GHgBICp9nCSvYwy76EmyRn7QeGLyTgLpFtrRWXWOz/9EPY+Xg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725152108; a=rsa-sha256; cv=none; b=qaAaRcMhzRRABTB7TKegjImx3Qgbhu8ZKQzDlHFDgRqro5nsIoLgPsXiNBoxW0EggB4JOr SHB03kDurSKOMFz7AOloQPIaOGUolKZ9FzqBOldKcvExL4sliIBwD20VBDxnY2trtzOrgR VdIYt6jancyzu9A11sepou2dqfzv21zt2RzjINf4c8/j9vPsMzyhbE0zHt2eCJDjkcPX/3 zeBB4kpSlv5tvEBx0M6/dRa6Bd3U+mTbsQRSy0jh2nyxDrbBuAl900nV3KpAKsdbJSQv6j sL8ggr132s6UNPp8PBMrkahFJgu1Rxp4gsrnNQ//FjMrxYn6HNE9N9j4JgYNLQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725152108; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=H6QZti04r7UlX/LmBD4Bn07rSNZDbbR7gVmL2xJiiio=; b=OJH0AlclnIigFR94X8Fzr4Zn4CxmIGwNTQeYSvRCbgcq3byoEkggqtIrMZ3ibIze+e776J pf4S5jTn3qES8BkuvTqFWVYf7Sr5YgBF1SJTCvcqYsbQMYkz3kb9dGhuYK92TG3iBbE5N0 OYAvoxYhAL2D27znXBHnAbGNEo0MxBlfrFv5CsuB/jHXVMmUHv+TrhhYhgJzclTN1VTNbq veX2rD+ZRKAOVPDCqKiWJSZtKhy+f/cu9FbWwxKcsDyVQ0j1+y34Cgjl3581GLpPi5OiMD nsrBhKe+gFNYU7YfoD6IQsxGnRAqPrBuUnaEGTSdio0Jap+G4wgy6qKQK79OrQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WxD245X0hz16v1; Sun, 1 Sep 2024 00:55:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4810t8um059414; Sun, 1 Sep 2024 00:55:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4810t8f4059411; Sun, 1 Sep 2024 00:55:08 GMT (envelope-from git) Date: Sun, 1 Sep 2024 00:55:08 GMT Message-Id: <202409010055.4810t8f4059411@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: f7eb6b134db8 - stable/14 - open(2): Extend EINVAL's description List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: f7eb6b134db8fed6a6851b6a3d00a2ea0e11eadd Auto-Submitted: auto-generated The branch stable/14 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=f7eb6b134db8fed6a6851b6a3d00a2ea0e11eadd commit f7eb6b134db8fed6a6851b6a3d00a2ea0e11eadd Author: Jose Luis Duran AuthorDate: 2024-08-27 02:23:14 +0000 Commit: Konstantin Belousov 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