From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=none (p=none dis=none) header.from=gibson.dropbear.id.au Authentication-Results: passt.top; dkim=pass (2048-bit key; secure) header.d=gibson.dropbear.id.au header.i=@gibson.dropbear.id.au header.a=rsa-sha256 header.s=202602 header.b=gy61gPCZ; dkim-atps=neutral Received: from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by passt.top (Postfix) with ESMTPS id 187F55A0275 for ; Wed, 25 Mar 2026 09:35:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202602; t=1774427736; bh=XCgzI+fmxTx3eptU8HHYWrqrqXH5UraNHLn661xvZCw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gy61gPCZyrKlhJMS+6jRsSIqPlwny0JcJ8L8V6it1VwuOR8/8GCWAM7ApdtGXwstI I21ZI/3CSKuSSppjdSquvrSqGMH8egRTyQ+kK6KxIsqiTSakW5EG1LsQZO1SEj7Eqi bXulMX2ue+PqI4B/Pf3NbRjTkVmghXNytY6/lvKehxsCuIjgxx+iFXfrIh3iJoxyrU Fb7HQvurGoOVXPQjEJAjgdwrWthp/quivQwHAOxPEYhIjMgfPH5Ktjd0syPTYygxog RQ63+x0acCl2+5EbLG7n4VrQw8TD7IF73Lq96S/nzPiTeU0pJzVYCXbjS0+eAThAxg q4NoXHK08nY0A== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4fggGJ5kvTz4wCF; Wed, 25 Mar 2026 19:35:36 +1100 (AEDT) Date: Wed, 25 Mar 2026 19:31:51 +1100 From: David Gibson To: Stefano Brivio Subject: Re: [PATCH v3 15/25] pesto: Expose list of pifs to pesto Message-ID: References: <20260323073732.3158468-1-david@gibson.dropbear.id.au> <20260323073732.3158468-16-david@gibson.dropbear.id.au> <20260325015621.6f595f6a@elisabeth> <20260325091759.6d199841@elisabeth> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Uzy4MOeDN/czQpWs" Content-Disposition: inline In-Reply-To: <20260325091759.6d199841@elisabeth> Message-ID-Hash: RT5WDCUOBQQSDYDXSIYY3PETUTTCXHJD X-Message-ID-Hash: RT5WDCUOBQQSDYDXSIYY3PETUTTCXHJD X-MailFrom: dgibson@gandalf.ozlabs.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: passt-dev@passt.top X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --Uzy4MOeDN/czQpWs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 25, 2026 at 09:18:00AM +0100, Stefano Brivio wrote: > On Wed, 25 Mar 2026 15:34:02 +1100 > David Gibson wrote: >=20 > > On Wed, Mar 25, 2026 at 01:56:22AM +0100, Stefano Brivio wrote: > > > > [...] > > > > So, you've convinced me in principle, but I'm not putting this at the > > top of my priorities. Using malloc() makes things a bit easier while > > we're playing around with the protocol a bunch. Once we look > > reasonably close to a v1 protocol, I'll do the malloc() removal. >=20 > Sure, it makes sense, it's definitely not needed right now. I guess it > will mostly be a matter of passing a number to the _str() functions and > share constants between client and server. I've actually already eliminated the _str() functions in my latest draft. The less convenient case is allocating the arrays of pifs and rules, I'll tackle that when I get to it. --=20 David Gibson (he or they) | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you, not the other way | around. http://www.ozlabs.org/~dgibson --Uzy4MOeDN/czQpWs Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEO+dNsU4E3yXUXRK2zQJF27ox2GcFAmnDnWgACgkQzQJF27ox 2GcGIQ/5AXjfBvjtM9hJ7JeFnpStypHt/dcCRa/l5asXXMR4d+26Rqn2CbRdUS0c H+NHTxNjywRMhfEGScnlKjbC7ZQpoFIXndjyDgRJWolmhDaqtpk6KKUJLpCBYJnV GVARtK3FdnjVTt6dndSThcPG5iAE6IEt8En0uhFMMVp7VH14XJuuWJSC6QHtmSo3 akJfxZiuoJ/7hyv90SFof+DbHAEnt1Wkep4He1s1puztB3NkYlIwg83UXlBcW5JI QuD5+/LjHa95CkbJqteXHS0MzQx4srUohHoBgyxxdWZP7nVDEiO8DyHpKWX1edNc M8Kjf0mOKurGTRhi6iNjsMc6M07XE3R9pt/ZoET0nYd9lypkpOCxRdvswKPyRJZV kd3oVOO75gX0y7CDac4LvfuA0wHfkILdbM75xCtMfetWpdf9nRx4TMgw6j8x7/EU VdwPgodGEEy1MseA47gSqwxciBtcgqX+vr90er7QtAFy20JBc9G5ezwLxWtbizE3 LmZWOlZIFO4kGL5iTv6VH0usESDq47C38LySbFs8TwqUKh+LdK0WN//FWEzg2nV6 fdHhIN2EpC1DgNp54FB8we6+Z2kFY9BlpgQJdEqW5LWTjFid8O0jgLkXNtJ4C9+L w4Dz/rkdh3ZKkZUDIXoK5faxNTGiSkwdDyC6Nycc0TLKnOR4tEY= =AUbC -----END PGP SIGNATURE----- --Uzy4MOeDN/czQpWs--