Re: git: 4ef07eb0802a - main - getentropy: Add Git hashes corresponding to SVN references

From: Ed Maste <emaste_at_freebsd.org>
Date: Mon, 18 Nov 2024 20:12:05 UTC
On Mon, 18 Nov 2024 at 11:24, Brooks Davis <brooks@freebsd.org> wrote:
>
> On Sat, Nov 16, 2024 at 03:23:11PM +0000, Ed Maste wrote:
> > 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.
>
> This code should likely be removed soon as the fix commit is in 12.0.0.
> It's not completely clear cut as it is post ino64 and thus not
> completely in the "can't possibably work" category.

Yes. I added these while preparing the patch to remove the fallback
code -- not just the special case for the Capsicum issue in the small
window referenced here, but all support for kernels without the
syscall. That change is in review https://reviews.freebsd.org/D47636.
I won't MFC the fallback removal but will MFC the comment update to
stable/14 and stable/13.