From nobody Sun Aug 11 19:30:43 2024 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Whnn36bjTz5TTfF for ; Sun, 11 Aug 2024 19:30:47 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: from mail-io1-xd30.google.com (mail-io1-xd30.google.com [IPv6:2607:f8b0:4864:20::d30]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Whnn33RKyz4XLN for ; Sun, 11 Aug 2024 19:30:47 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Authentication-Results: mx1.freebsd.org; none Received: by mail-io1-xd30.google.com with SMTP id ca18e2360f4ac-81fb80d3887so144415539f.2 for ; Sun, 11 Aug 2024 12:30:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd.org; s=google; t=1723404646; x=1724009446; darn=freebsd.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=v23dOkMOxRrhrKXt6dWM4sw7CsDC2iGie9Zgx6Cfyyw=; b=UNSVX5yAvCvdYhYfLYVmr22zl+jcLdhfZB/ONIsQlkWqw7fVRjHFZWYV855RZkJoUI Z7LeE9x91HdO+hR2++XNuP/TOTvczHHhl3JufH9+7BaQLrYP60M+efNg9fTKDplFE9j9 cyfS5uT7Jj5/moL1O2ZHbTPmo44y5+IrmTiynLDVsl13Mtvq+PkNYOWtflHmUups7sCk FxwT9GzYHsBQv7aLnbyd8/EtqUTgkz9kQuqKWeSih4Ybdp+ENZseRegLo+curZbCf3e6 sma6h5T+8klRr/nlrynLc2lavOA0SuRsq+SFvAUfLaKEXcblbHt0Gnz6DKvUD9cfPQML /kSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723404646; x=1724009446; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=v23dOkMOxRrhrKXt6dWM4sw7CsDC2iGie9Zgx6Cfyyw=; b=Bh7e+BSY2u5PDr3ihzhDCn5IR8gIgKYWcCzFzyL6Gwg7bTK0Cs5FMvJsRoSPfcX0PM HQHOHQGAXF5U03KTK173nEwDMDBJGA5GG5ZSi6Qfs/LGdAABtMLtAW3eKw4i/z+hZzAp hE8uX5wJK65SDZvQtn/u55iHQtjcO9O861T/qYh8jiLDdsTapl3TiZIEw0EDVuulumpg VTMA88X/u5GCVOwCXJkY6hd1Bn8Pejmom+TzWbzovkHXNf9rf3tfeh0yD+kedIWpvqtb llrY0JqA5Z9dtPriafK+xHvn87z6IGOyB5BOVQvoVS/aeeV7+J7AGPQd5WccP0n/5gJe 9CfQ== X-Forwarded-Encrypted: i=1; AJvYcCWz0JJMqCfMgfumeVKsISOneLPVATT/ppy+38Xq7hpOvbOiS/Oo+NaBHsCksuYqlL4VHwNU4r6Bt58JGpx3uDIBj0Z7UCoTL4WfILEmLVEtzg== X-Gm-Message-State: AOJu0YxKrQxMpBWtfByr1K2T9vY04u4pBm63jpwd2ycQ5pi5ot5SlVaB Ls9dok/ht7Q5iCdnlOG1YgKWkHu5EoMqpURAobG0uA48idvLObg7gdXHKGrExA8= X-Google-Smtp-Source: AGHT+IGua5jdOjpdK2Fgs8Crv6pKQgTzYCGzuA63sO62ZcqOpOkCoP2x9giaiqcgEgoEIiDe2RMPOQ== X-Received: by 2002:a05:6602:6283:b0:7fc:923f:255b with SMTP id ca18e2360f4ac-8225ee55713mr912670739f.16.1723404645759; Sun, 11 Aug 2024 12:30:45 -0700 (PDT) Received: from mutt-hbsd (174-24-73-190.clsp.qwest.net. [174.24.73.190]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4ca7691281asm1173557173.16.2024.08.11.12.30.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Aug 2024 12:30:44 -0700 (PDT) Date: Sun, 11 Aug 2024 19:30:43 +0000 From: Shawn Webb To: "Bjoern A. Zeeb" 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: X-Operating-System: FreeBSD mutt-hbsd 15.0-CURRENT-HBSD FreeBSD 15.0-CURRENT-HBSD X-PGP-Key: https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/blob/master/Shawn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc References: <202407261048.46QAmNLD085636@gitrepo.freebsd.org> <993o3on4-7p88-8154-q8s4-61qr362o5p19@serrofq.bet> List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="auvisgfq4a56ngvr" Content-Disposition: inline In-Reply-To: <993o3on4-7p88-8154-q8s4-61qr362o5p19@serrofq.bet> X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4Whnn33RKyz4XLN --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--