From nobody Tue Aug 27 22:09:54 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 4WthYH0zs8z5MTtr; Tue, 27 Aug 2024 22:09:55 +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 4WthYG6JD1z55Xt; Tue, 27 Aug 2024 22:09:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724796594; 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=cP7cvvzOjFmWGVn/AHMoGj+GkeHBPVdISuSS69FlU60=; b=fpFBR4tb5CuBacARdqxUF07qCFlIpuY4buykZcZmoCdv888dE5hVvJBy5YM3XmHm2D1uPj J3ITeOrBinD6sGNMWGNEqegFOtqGWaZXBwNa6Ir3jSQsK4BFGd3Eqf5MwxR5xMuR9DxR9T nQ/e+G25L7d8F5VC/enSOkuhp2mX/t3Xb2dGa5HhBdBrVBrh/faX6KZGiPUczJCVD+7gJp WKkFdzbf/sDyE2BWKSreC4UiPLAHMz+2YCfmGS3jrn5CGbrJPI2J2aDBBnKUbdCEevYvvV vKhSSCGOE2JRJlhxdhazojaDWc3zBstNVypJliIGwTcV3egCUD5hcsbikCEoXA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724796594; a=rsa-sha256; cv=none; b=MezbnKUDTvdb70KrBw2sKTisNlZxnH6MX0WM8FWu+lCAo0KmgCg/341ozf6pFDhRsxB1fK jgHxqHViUmbxziNTgLi40Era0fcihdL3dlqr1UizqlYuDjBQjC5ODGyKz5QjQKxKY6EuJI TRIYDLIIXkqSbM8vNgYTZ6EB1Hh5egKhpd85ADPerSIytxTQS/F9F/cJ5U5phqDPRRPJ2G U359hqWJiVAigQXehLsdf5k6q/7Q2bfLzvBB2gdYBjiKX2Akv/CckpqLvrN3LmQ54ph+Bw EG71DCKEc0qfmELrh1Tq0JOUeeojEWV2NR7uavL13wbQkdh6qlJUOkCn6JHDDw== 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=1724796594; 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=cP7cvvzOjFmWGVn/AHMoGj+GkeHBPVdISuSS69FlU60=; b=QrUB/K7qQuwuMLlFZH7FzqBKz8qOwUWbL23Y7t9uLYEamkNqUw/ZJBQH/yPOc7wdED8S8X 4BnMeXOimA/vWlnHIblvUdUYT8FiBnvMWum1MCiIvkjRdIQDXNBjGIRt81MgsnDaw+N+iQ VO5ozQF2sCsKpU0N32DGwgQkaPwRc8MJdU+cvF0UTaR/QXREyguKFOAf+u7sRQVOBOHOOe br3domDRymqPyu9TS+1j+8YrQmBgDVFHzVb8qo4mM5LP3x27IXy++5Ma6PbwVOSJRM/+Hj wJFP6PK5yTVWuHkUMnAM1rukh3XvKVgDJ6LtqhmtiDqlTsIs9Ncm0HKKLYvUZA== 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 4WthYG5vysz172Q; Tue, 27 Aug 2024 22:09:54 +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 47RM9stK002809; Tue, 27 Aug 2024 22:09:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47RM9sAu002806; Tue, 27 Aug 2024 22:09:54 GMT (envelope-from git) Date: Tue, 27 Aug 2024 22:09:54 GMT Message-Id: <202408272209.47RM9sAu002806@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 33f58ac0795b - main - rename(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/main X-Git-Reftype: branch X-Git-Commit: 33f58ac0795b2b02593ad0a8bf8a1ea24c1dc5e1 Auto-Submitted: auto-generated The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=33f58ac0795b2b02593ad0a8bf8a1ea24c1dc5e1 commit 33f58ac0795b2b02593ad0a8bf8a1ea24c1dc5e1 Author: Jose Luis Duran AuthorDate: 2024-08-26 01:32:14 +0000 Commit: Konstantin Belousov CommitDate: 2024-08-27 22:09:33 +0000 rename(2): Extend EINVAL's description On some file systems, the last component of the destination path can contain invalid characters and return EINVAL. PR: 281033 Differential revision: https://reviews.freebsd.org/D46450 MFC after: 1 week --- lib/libsys/rename.2 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/libsys/rename.2 b/lib/libsys/rename.2 index f792c8a3dc7b..4faba81ff509 100644 --- a/lib/libsys/rename.2 +++ b/lib/libsys/rename.2 @@ -25,7 +25,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd March 30, 2020 +.Dd August 25, 2024 .Dt RENAME 2 .Os .Sh NAME @@ -255,6 +255,10 @@ or an attempt is made to rename .Ql .\& or .Ql \&.. . +.It Bq Er EINVAL +The last component of the +.Fa to +path is invalid on the target file system. .It Bq Er ENOTEMPTY The .Fa to