git: 4ef07eb0802a - main - getentropy: Add Git hashes corresponding to SVN references
Date: Sat, 16 Nov 2024 15:23:11 UTC
The branch main has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=4ef07eb0802a6353faf79d58719d8008decabae0
commit 4ef07eb0802a6353faf79d58719d8008decabae0
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2024-11-16 15:18:16 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
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;