Skip to content

Commit

Permalink
getentropy: Add Git hashes corresponding to SVN references
Browse files Browse the repository at this point in the history
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
  • Loading branch information
emaste committed Nov 16, 2024
1 parent 2c2f741 commit 4ef07eb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/libc/gen/getentropy.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4ef07eb

Please sign in to comment.