From nobody Sun Sep 1 00:55:07 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 4WxD236gjtz5MQwC; Sun, 01 Sep 2024 00:55:07 +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 4WxD234twtz49ks; Sun, 1 Sep 2024 00:55:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725152107; 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=Re/44g5+k3PS9OM3d1tDN64A4umzzdKLKOZo/PH0GCA=; b=oWSY02wOxI/jT7beqcG64t11sWwkqO1gxK4akIc/cLn25KVMJHfJ6iyCiBQDhLorgYJocy eG15nnUD++xSDphnGFIwO4NDLuytvxWxIIf83H7YxVLQoFu0i+t3LgTNGD0nibia0/jR3t hBGqBGhNdO5FVgrm7EaaYuNQPOtm63EzF3snlbNvBtEkmTCprJb81f1nHhJnLFRxzBkE5o /Gi3jPqiTs8KsaBNBbktMmhINCKkGAvz9sxruGnHBJ+ReoVInAE5/SKUtlGDLB59F9PFIB dbirqi+xjeiPJE5fH3v+Dop1ZaW9Id8JGCLLejmbbpI4lrTaGQjLPTxYnTn3yQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725152107; a=rsa-sha256; cv=none; b=ubcIzsZMgzlXxfYnQcpqrw/P85mgdKLZZVoxf3y56zKWfuKnGOIwZHCnsjQsgD6K1iTrgX OgH1W0DQnJ9zDytJpT4T62KnzR4emNCjzxxloIA6aVKDDmrdyaoS9CKL3buxY+AvwujnW2 K29DJoBm7it3StAoCwvclBIOjGJtPUSHeTfn8+4+AgSNOSjfxol4+tbYQJMKKh1MNR3OFV bRBQEeqrhL01TlkLSOsW1ym7RUjAXgkiLHYrjBvDwaFlNPLUiZ3wMxt0NO+FFQpw8lB5q2 YaZ4fX9boZ4L2pTVrnSW7Wmpl+Bs/cGCiPq4apUXn/zeozh594xzUt9C0ReGdw== 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=1725152107; 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=Re/44g5+k3PS9OM3d1tDN64A4umzzdKLKOZo/PH0GCA=; b=KsM9qNIoVuSrUrqmpMfzNdDEGfmHfiCO+ioYc1yV1GU49uqCUe7plwTbdT3JcsJCryfuGY NywwFZy+rF0FNXtIy8Wu6cN8JPPctfgtlMAXgWd2WjDJ1jHN7GZDqZYEbtf4dae+MwOt9d /+CiLySegcr1VmG94Hajikey47zKMQVldsqP0pr0AVrb7MmLT3miVsHFZ9Gfb0QKJFr+M/ +BOVKYw7yQF4AhtujOlGNLY+Mj0BeQDNmmYhqVrItrIiJ0hQkf08190VJJY1iK0b6OdaGO mQ/X/Y8doPt2o5PeN1dW2JJNRoKGH/4IGXBVzK9cCrrztcoqV111sFiwKbCziA== 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 4WxD234WHgz16v0; Sun, 1 Sep 2024 00:55:07 +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 4810t71X059374; Sun, 1 Sep 2024 00:55:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4810t7n4059371; Sun, 1 Sep 2024 00:55:07 GMT (envelope-from git) Date: Sun, 1 Sep 2024 00:55:07 GMT Message-Id: <202409010055.4810t7n4059371@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: 97ccb41979bf - stable/14 - 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/stable/14 X-Git-Reftype: branch X-Git-Commit: 97ccb41979bfee6d5bf35886b310e6c9bc7e8eed Auto-Submitted: auto-generated The branch stable/14 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=97ccb41979bfee6d5bf35886b310e6c9bc7e8eed commit 97ccb41979bfee6d5bf35886b310e6c9bc7e8eed Author: Jose Luis Duran AuthorDate: 2024-08-26 01:32:14 +0000 Commit: Konstantin Belousov CommitDate: 2024-09-01 00:53:36 +0000 rename(2): Extend EINVAL's description PR: 281033 (cherry picked from commit 33f58ac0795b2b02593ad0a8bf8a1ea24c1dc5e1) --- lib/libc/sys/rename.2 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/libc/sys/rename.2 b/lib/libc/sys/rename.2 index 2b68274e4a8e..4faba81ff509 100644 --- a/lib/libc/sys/rename.2 +++ b/lib/libc/sys/rename.2 @@ -25,9 +25,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" @(#)rename.2 8.1 (Berkeley) 6/4/93 -.\" -.Dd March 30, 2020 +.Dd August 25, 2024 .Dt RENAME 2 .Os .Sh NAME @@ -257,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