Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Aug 2024 19:30:43 +0000
From:      Shawn Webb <shawn.webb@hardenedbsd.org>
To:        "Bjoern A. Zeeb" <bz@freebsd.org>
Cc:        src-committers@freebsd.org, dev-commits-src-all@freebsd.org,  dev-commits-src-main@freebsd.org
Subject:   Re: git: 4fab5f005482 - main - kern_malloc: fold free and zfree together into one __always_inline func
Message-ID:  <yu3nhelj6a6g42ol2sj2qqbgyur6xf6o4jnmvd2j6fvp2cpm5g@ftingd7tk3o7>
In-Reply-To: <993o3on4-7p88-8154-q8s4-61qr362o5p19@serrofq.bet>
References:  <202407261048.46QAmNLD085636@gitrepo.freebsd.org> <hkwxrjcco25g4zqr2exl54rklcirsfber3cwq5maf7nayx5uwm@m3x4a5pb5jix> <993o3on4-7p88-8154-q8s4-61qr362o5p19@serrofq.bet>

next in thread | previous in thread | raw e-mail | index | archive | help

--auvisgfq4a56ngvr
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Aug 11, 2024 at 02:38:16PM +0000, Bjoern A. Zeeb wrote:
> On Sun, 11 Aug 2024, Shawn Webb wrote:
>=20
> > Hey Bjoern,
> >=20
> > 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.
>=20
> 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/c3ee4601417ae1=
daa7a0a3adc9259bf0739a8d55
2.
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD/-/commit/5283e229590401=
fe389f4ca46c4071a48032d46a

Thanks,

--=20
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/03A=
4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc

--auvisgfq4a56ngvr
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEA6TL67gupaZ9nzhT/y5nonf44foFAma5EVsACgkQ/y5nonf4
4foQQg//b7oi/Elh4DTnpnZnTGKUqy9WLCtEVFqJB8lTn6GJhZqhxTd5fbH5gQPz
9qwwiiFY5J3sf8BhIH6PQmnoo07634p76f4vu2RB1KLAPDTDHKd55iEP1IbvtilL
S7e6+ZHmUDIDsbl3hhcLjF1ybfCpgjB+9U8gskHEwDlKECOxsEnVLlGRyZmKjeEj
5Wtd7VlyJHyqWGgzZYN7IaOEdysWhY+C/QXF1Wmz1iZNL81hrfqoZHuEWy+Z/DGi
C4l2Mm18ZFxNQk0oPQzK4WyBiEGUywciu2XWNN4VyOOsYNrlnRfuie/EsRLx8qEr
50wor1BlqZ7H8IO+6JkE5Bd/R3yQGc62i06xAEUzKviaPzHVS8MQlm/sgvey9KLd
aVOArPqpctCofPaKrEf1N3tLdK0mps5ksVlDvbOHY3X6wtXdhhpUA2Sdok6IaI6Y
iqPwp74JwOGwkvr01cJ+v4zevrE6uik3jTORXq98so92FN6ZxtKuHfDYW614qS9i
tsaJPGSfG5lpRh8WGY/umzA9B+r7pT33V9hbePVE5wcC0XvbSKwS3w5EaCz6D/tO
ybeht4Anj8OL1yc0+hBrTUJ7hosYFcQeztaCsoTKkMuxxNG6Fe1PgbPeIqB1vIWO
LDUk+aw20hKeWQPFiRhKC37izH6bL0Rq5q4mRifHlsLApGe6gH0=
=rbOq
-----END PGP SIGNATURE-----

--auvisgfq4a56ngvr--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?yu3nhelj6a6g42ol2sj2qqbgyur6xf6o4jnmvd2j6fvp2cpm5g>