HomeFreeBSD

Disable stack gap for ntpd during build.

Description

Disable stack gap for ntpd during build.

When starting, ntpd calls setrlimit(2) to limit maximum size of its
stack. The stack limit chosen by ntpd is 200K, so when stack gap
is enabled, the stack gap is larger than this limit, which results
in ntpd crashing.

Submitted by: Dawid Gorecki <dgr@semihalf.com>
Reviewed by: cy, imp
Obtained from: Semihalf
Sponsored by: Stormshield
Differential Revision: https://reviews.freebsd.org/D29553

(cherry picked from commit af949c590bd8a00a5973b5875d7e0fa6832ea64a)

Details

Provenance
mwAuthored on May 21 2021, 9:29 AM
cyCommitted on Oct 4 2021, 1:12 PM
Reviewer
cy
Differential Revision
D29553: Disable stack gap for ntpd during build.
Parents
rGe81cf0e1bb3a: ipfilter: Print the correct TCP sequence index number
Branches
Unknown
Tags
Unknown