From nobody Sat Nov 16 15:23:11 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 4XrHhc0KYDz5dV86; Sat, 16 Nov 2024 15:23:12 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XrHhb6M7gz49hR; Sat, 16 Nov 2024 15:23:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731770591; 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=kxLrl5NEwTUUY7km31hnu1v/6SXVPCmEtr9ARX5tn+E=; b=V3Gbm/ypzLz4yqFUsvyXfaqJFBpnEgUdGTu2P39tuVxKwtHt46zcX/lpia06lyIFPXIThA ILTq7riibP60IOKeUGQU6PTtW6DkikWa3dSo8QD1L7L1JYJFxoineJlc4Ydt/+0iFj587y wr2nk1oq38SuNgzOWt50T3r83D0f9hFM5YDuL3Hecs5TxuKboD7wmRFtQULmpgQiyn+ffK J+x1ErSbfPZ4A1kvhOammRf2NA706YkMqTvpmX74DFduellzNinxizAl5lN0SwTAoxj/UG J/oBBe/YCOhUVaZx2BG+OCl1+kKLdIbP+LyS53lZQeKJULd8XxsSR2pZin11KQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731770591; 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=kxLrl5NEwTUUY7km31hnu1v/6SXVPCmEtr9ARX5tn+E=; b=J4hqWLgzWKrL5Y8giR/3euJiFqw2hOQWvng8jOMuWA9cx4vId69kjoZo+o5pu4ATGBgPGM gFqcLCklXW/Dyg9lccFexhY0r2fiAmZaDqFE+i85Wp9MyN4wxO93deU5UUUo+ZN3VBd8XY tULLP8yCr9ZmtDJR/0U62U07Fc1NQAYo4p9qDAbn27JspF+UF2nlcHFd2kT6A4nHy9Y/HF Rr6vg4GDRvodXOJLFReSSKY+cgt4V70mBDmEDjoZHdfDTzvtqGG/2ChBADIKJ+46VEGsbG ArCaKtbWEVFTqiy7LHR+7L+OMPDOLbby5kmjNR66Z+x7Yiv32HTwTvrLbuoGzA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731770591; a=rsa-sha256; cv=none; b=OYBDCLr/02+MFlx24DivjccJDSWtu0BiDWuPlj3IS+cLrbi2jiF+1MfUXon08I/qADF5HS rHdi3beQ4y722rE9F10Z/sSVuqnQe4pW86KgP81PdY6LPS4aD2QvS2EaECpFbS67UWQa5z kAdyumwIwA3Z4aw+8DuxqD3MyiuW3zBL+8lOCBzlVHuDCbLwSm3Xl85+vgR7eaPbbsaBdN 5ky2FE3dQOyGBa4292h3yYZC/dOPbUoy9TmU3WDcTFSmt78T41oNqDPZPLJPC6UFh4zaOA yEDno62hHC6RZkOTrYOnk81fynCDjNNp4sNP90eQyZ1HkwVUGH7ei/MSC5e1Kw== 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 4XrHhb5sXrz1BFF; Sat, 16 Nov 2024 15:23:11 +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 4AGFNBYT010439; Sat, 16 Nov 2024 15:23:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4AGFNBcu010436; Sat, 16 Nov 2024 15:23:11 GMT (envelope-from git) Date: Sat, 16 Nov 2024 15:23:11 GMT Message-Id: <202411161523.4AGFNBcu010436@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: 4ef07eb0802a - main - getentropy: Add Git hashes corresponding to SVN references 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: emaste X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4ef07eb0802a6353faf79d58719d8008decabae0 Auto-Submitted: auto-generated The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=4ef07eb0802a6353faf79d58719d8008decabae0 commit 4ef07eb0802a6353faf79d58719d8008decabae0 Author: Ed Maste AuthorDate: 2024-11-16 15:18:16 +0000 Commit: Ed Maste CommitDate: 2024-11-16 15:22:46 +0000 getentropy: Add Git hashes corresponding to SVN references getentropy has a comment about a special case to support kernels between SVN revisions r331280 and r337999. Add the corresponding Git hashes so there's a usable reference after Subversion infrastructure disappears. Sponsored by: The FreeBSD Foundation --- lib/libc/gen/getentropy.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/libc/gen/getentropy.c b/lib/libc/gen/getentropy.c index 40b84af65f83..40debe4ab662 100644 --- a/lib/libc/gen/getentropy.c +++ b/lib/libc/gen/getentropy.c @@ -125,11 +125,11 @@ __ssp_real(getentropy)(void *buf, size_t buflen) switch (errno) { case ECAPMODE: /* - * Kernel >= r331280 and < r337999 - * will return ECAPMODE when the - * caller is already in capability - * mode, fallback to traditional - * method in this case. + * Kernel >= r331280 (4948f7bf1153) + * and < r337999 (ed1fa01ac45a) will + * return ECAPMODE when the caller is + * already in capability mode; fallback + * to traditional method in this case. */ have_getrandom = false; continue;