From nobody Tue Nov 19 13:57:58 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 4Xt5fv0834z5f448; Tue, 19 Nov 2024 13:57:59 +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 4Xt5ft6nSFz40pv; Tue, 19 Nov 2024 13:57:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732024679; 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=d8km0XcUvH1vA3QRIQaUW8rjroJ6hnefsiphfmtlHLM=; b=lH5yavyG74udX+D83jwIj26u2mfIIgSCB2xmmv2ayu2DEHEt2McwItTzOBsttGWPCZj55y t1p/VOvxNCZ5y+7AxHyQaittaldto4RZtvvpFzYdYMX7f8law0hiMLGvy2UqF11RtS7GUg xAf5XUOLx0afhhnZzN0zr/kyffPPXCM0bY/0Y5Ls1u6kZju/S6HYVPuBhJmkaiI8zeqTXJ 27np0B4nfC48Rg3pCL8tX9ZIOW4n1rvjJAlqsFgdO5CRwkUqENV3Wph2Zx7ToMs3lNTnyu Q1N+N1RBaMWHG7WccNLFiINzsMBu4bd377poFL7yBO+ldJr/FOfZCXdOcXsk+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732024679; 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=d8km0XcUvH1vA3QRIQaUW8rjroJ6hnefsiphfmtlHLM=; b=DZD3G+PvPcajjkfkKuQP7GrzniIpU4h6Ev2D0CQwmNGSL2BrRS0dtYffWrRHSwjdhhszeE xU8Or4FcG6DsslgXt8YnLi/XhV7iquZxjaU5mNhrmT1AC3GvTlBS4+1S8gi2wjdvs/TEVw LmOCkhDTGwFPEMn0a7eCCaZRRx5ZvElxxB2ho37LDUkHGEWogDDHDPEYnjO5nkAUjNEEdo K2l9j6Sa9nEglrlhM4V3Q8XS42zCdSm3tJKiD9bRH/2tnNVHvu20vTtKKItXql45JEWPXU gTLhvxm+XkO8b/0MfyBs7NVJJRR4qpnjRhkGRBejI6p4liSe8SM+Dx1YuEE3HQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732024679; a=rsa-sha256; cv=none; b=fM95+gH4xO7Kt5AdEMbxNXvJ2EGTftuXPPIauiQaRLL7AjzlNdxvBrjFjbiyQdgea0CZgK hPY25FXIBaZ8QiqNH7+FBOptQP/GXM+lAuq0wJjXpqvTFoHgOPqyZABDZrdlLyXqDLlf2J Qsh4VzUfu4+q//tXD6IL6/dN18sH/Bz/7Zc4hG1kYnzgvmDBYYzSIKx9tnyAYZnME0Pw2c gVG6efZ1c2k0XmXFY9QOw3LtCDqU1i1AobDqRFjd22KV04P0Dw+NZH6QOxGBcmw5FIQMhm 6X7QAwaXpZiNzJgKFMczVLi/XyTwkoCd+zVjkFa5BbMify0YBqjWRLspIjbCPg== 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 4Xt5ft6Gvfz1RmP; Tue, 19 Nov 2024 13:57:58 +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 4AJDvwTX072594; Tue, 19 Nov 2024 13:57:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4AJDvwXx072591; Tue, 19 Nov 2024 13:57:58 GMT (envelope-from git) Date: Tue, 19 Nov 2024 13:57:58 GMT Message-Id: <202411191357.4AJDvwXx072591@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Ed Maste Subject: git: d45fb7b612fd - stable/14 - 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/stable/14 X-Git-Reftype: branch X-Git-Commit: d45fb7b612fdab4172b9d348103c46145108810d Auto-Submitted: auto-generated The branch stable/14 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=d45fb7b612fdab4172b9d348103c46145108810d commit d45fb7b612fdab4172b9d348103c46145108810d Author: Ed Maste AuthorDate: 2024-11-16 15:18:16 +0000 Commit: Ed Maste CommitDate: 2024-11-19 13:57:43 +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 (cherry picked from commit 4ef07eb0802a6353faf79d58719d8008decabae0) --- 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 38cd515e74d7..060c2760bfad 100644 --- a/lib/libc/gen/getentropy.c +++ b/lib/libc/gen/getentropy.c @@ -124,11 +124,11 @@ 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;