Re: git: 8dc43f07dc66 - main - net/ntp: Reverse "Disable ntpd stack gap"

From: Kyle Evans <kevans_at_freebsd.org>
Date: Sat, 16 Oct 2021 05:20:31 UTC
On Fri, Oct 15, 2021 at 10:59 PM Cy Schubert <cy@freebsd.org> wrote:
>
> The branch main has been updated by cy:
>
> URL: https://cgit.FreeBSD.org/ports/commit/?id=8dc43f07dc662e4e7404b5521ba03c2e7f25470a
>
> commit 8dc43f07dc662e4e7404b5521ba03c2e7f25470a
> Author:     Cy Schubert <cy@FreeBSD.org>
> AuthorDate: 2021-10-16 03:50:11 +0000
> Commit:     Cy Schubert <cy@FreeBSD.org>
> CommitDate: 2021-10-16 03:59:14 +0000
>
>     net/ntp: Reverse "Disable ntpd stack gap"
>
>     120137c822c9697c19cf94461f436f8ccc372d24 (svn r517694) disabled ntpd
>     ASLR stack gap, which caused ntpd to segfault. (The patch in
>     120137c822c9697c19cf94461f436f8ccc372d24 was subsequently submitted
>     to nwtime.org for inclusion into upstream ntp.) src commit
>     889b56c8cd84c9a9f2d9e3b019c154d6f14d9021 addressed the underlying cause
>     for the setrlimit segfault negating the need for this workaround. This
>     commit removes the workaround.
>
>     MFH:            2021Q4 (after a month)

Er, stack gap landed in 13.0, didn't it? I think you still need this
for the time being, at least gated behind a check for 13.0.

Thanks,

Kyle Evans