Re: git: 4fab5f005482 - main - kern_malloc: fold free and zfree together into one __always_inline func
Date: Sun, 11 Aug 2024 19:30:43 UTC
On Sun, Aug 11, 2024 at 02:38:16PM +0000, Bjoern A. Zeeb wrote: > On Sun, 11 Aug 2024, Shawn Webb wrote: > > > Hey Bjoern, > > > > For some reason this commit breaks booting on two of my Dell laptops. > > I'm unsure why. Reverting this particular commit makes them happy > > again. > > How? There was a follow-up fix given Mark had thought the KAsan bits > were not needed but they actually were. Do you have that? I just tested a feature specific to HardenedBSD: force calls to malloc(9) to include the M_ZERO flag (the hardening.kmalloc_zero sysctl tunable.) I have that tunable set to 1 in loader.conf(5) on both laptops. It appears this commit conflicts with the feature in general. I'll see what I can do on HardenedBSD's side to better align our feature with this commit. Sorry for the noise. For reference, here are the two HardenedBSD commits that provide the feature: 1. https://git.hardenedbsd.org/hardenedbsd/HardenedBSD/-/commit/c3ee4601417ae1daa7a0a3adc9259bf0739a8d55 2. https://git.hardenedbsd.org/hardenedbsd/HardenedBSD/-/commit/5283e229590401fe389f4ca46c4071a48032d46a Thanks, -- Shawn Webb Cofounder / Security Engineer HardenedBSD Tor-ified Signal: +1 303-901-1600 / shawn_webb_opsec.50 https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/raw/master/Shawn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc