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=202606 header.b=LYxXVOiv; dkim-atps=neutral Received: from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by passt.top (Postfix) with ESMTPS id 808195A0262 for ; Thu, 02 Jul 2026 08:32:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202606; t=1782973952; bh=uvQHQPJAxB244N8eKfs5y1duLPmoA38Z3GPG2eDagpE=; h=Date:From:To:Subject:References:In-Reply-To:From; b=LYxXVOiv8PMnpvJLZaf6unC6Vs/yqRx+SVBH7vwxFTz7EneR6W0OGo8YfyYUbcggF vmIR5vm+8/PeKhADb1x1dAzrKq82T47FzirYTHlb05hxsax9cCvne3jrBJeudqC05w 43hSSpj2GM/WG/BECFnSysNeLQGx0wLDky3FaK5fdHr3eLSjC/hIOMQfBNwVvZGD3h 8Epk4Cb44ZURNjpOqL6rfWL4opUzAg/ijeVDRoKPntOue8xtwJ1EGsh0lHC2p8Fklc p1y6lHdvWKQEPtnTHdruXjaR9jjzQsLhwz/aQfsCu6g0DgzzApWM09/NJtvbdhLLZB 4CAK4k/P15dfw== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4grRrc65lKz58lv; Thu, 02 Jul 2026 16:32:32 +1000 (AEST) Date: Thu, 2 Jul 2026 16:32:23 +1000 From: David Gibson To: passt-dev@passt.top, Stefano Brivio Subject: Re: [PATCH v3 00/13] SKIP THIS VERSION destination remapping Message-ID: References: <20260702005901.2010709-1-david@gibson.dropbear.id.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="3Gs5tkcFjM341ZMI" Content-Disposition: inline In-Reply-To: <20260702005901.2010709-1-david@gibson.dropbear.id.au> Message-ID-Hash: FBTKL7IXF6CFUQXFKUHJ6KXDVD4PKFBK X-Message-ID-Hash: FBTKL7IXF6CFUQXFKUHJ6KXDVD4PKFBK 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 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: --3Gs5tkcFjM341ZMI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 02, 2026 at 10:58:48AM +1000, David Gibson wrote: > This was... a bit of a nightmare. It took way too long and went down > a bunch of blind alleys. I'm not sure how much I like the final > result: it's pleasingly terse in some cases, but in others it feels > dangerously subtle, requiring a pretty careful understanding of the > sequencing rules of C's &&, || and , operators. >=20 > That said, while I was at many points ready to pack it in and hack my > around the problems limiting the parsing for destination remapping, I > couldn't really think of feasible way to do that either. So, here we > are. Reposting again, because I realised 12/13 was missing matching manpage upda= tes. --=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 --3Gs5tkcFjM341ZMI Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEO+dNsU4E3yXUXRK2zQJF27ox2GcFAmpGBe0ACgkQzQJF27ox 2GcCdw/+KRvHADRWEvjIYog+6yVTgRO5yVjZzQHM5/G6I9T4vbZ2xhyz/Tdw5IBG 6R/2n3b/FsrcjsakM6Nzc97K0BmBP0+aJrMFJcq/xqoDKAue7SEcHsMD1Iwkg7MC alKlN59x1u3vGqrW+5kbgxPOvErAAT/p+uOpMO53fQs0ym0u6daJnoWn3LwnQl75 EP38DNe/r7j1FmxLsfen8hAUylYVHca5tUIdJe80XsIroB0M1HwKql9FitlfAfl7 g76Fc2ltCx6QODiqG2cn27lWDjfHQIm8LP7A3+VdgbaXh+vHlpJbbUGk8ju7sKkX 88/GvWwT9TBAbqQhX37jYmhvQGrBDlisO6ZonDtgpwGEPTNWF2FNERKNM8mWuu0D hUiiqT7KGYy81qeUMIh0Zrwz7jd7TGMLdXhis3fnBwpGj2Ywx7m86MuVoblHEUbb aGjkRfL4fZy9ZSmL1IzyUyjcB3plHcNWxSq5/STGgm9nFtyoJyMU5o1ZOjCqYSmo tERfg5qILSN7CZ6nfclCV4zxnAwPx+WdvsClU/GVDtFYsuURXcgXJ3iVpBTbtMNq 0kRucOJyP9nJ/wW08D5hCE4JQsCyiv8ujZOYWX9raFT/yCBiiaXg8Z6KLyKbj3wg Ai//fl4L+xd0oGJGlzaMwliX95rPbMu39yIBdpOo1iioA2flWe8= =JvRC -----END PGP SIGNATURE----- --3Gs5tkcFjM341ZMI--