Re: Sourceware mitigating and preventing the next xz-backdoor
Alejandro Colomar <[email protected]>
| Newsgroups | gmane.comp.lib.glibc.alpha,gmane.comp.gcc.devel,gmane.comp.gnu.binutils,gmane.comp.gdb.devel |
|---|---|
| Message-ID | <ZjDV9qIkYn_-7OBU@debian> |
Hi Mark, On Sun, Apr 21, 2024 at 10:40:14PM +0200, Alejandro Colomar wrote: [...] > Let's generate a v2 patch set, showing the range-diff against v1. We > need to check the commit IDs of the first set, which can be found in the > mailing list archives, thanks to the trick we used. The v1 range was > 7ec952012^..892a12470. So we just pass that range: > > $ git format-patch -o ./patches/ master..HEAD \ > --range-diff=7ec952012^..892a12470 -v2 --cover-letter; > ./patches/v2-0000-cover-letter.patch > ./patches/v2-0001-share-mk-build-fonts-unifont-Build-UnifontR-from-.patch > ./patches/v2-0002-share-mk-build-pdf-book-Use-Unifont.patch > ./patches/v2-0003-share-mk-build-fonts-unifont-Specify-space-width-.patch > > The v2 cover letter shows the changes introduced since v1: > > $ tail -n20 ./patches/v2-0000-cover-letter.patch > create mode 100644 share/mk/build/fonts/unifont/dit.mk > create mode 100644 share/mk/build/fonts/unifont/pfa.mk > create mode 100644 share/mk/configure/build-depends/fonts-unifont/unifont.otf.mk > > Range-diff against v1: > 1: 7ec952012 = 1: 7ec952012 share/mk/: build-fonts-unifont: Build UnifontR from unifont.otf > 2: d80376b08 = 2: d80376b08 share/mk/: build-pdf-book: Use Unifont > 3: 892a12470 ! 3: bc7fa7d92 share/mk/: build-fonts-unifont: Specify spacewidth in afmtodit(1) > @@ Metadata > Author: Alejandro Colomar <[email protected]> > > ## Commit message ## > - share/mk/: build-fonts-unifont: Specify spacewidth in afmtodit(1) > + share/mk/: build-fonts-unifont: Specify space width in afmtodit(1) > > Link: <https://lore.kernel.org/linux-man/ZiQ_mTQHPq3ig723@debian/T/#t> > Suggested-by: "G. Branden Robinson" <[email protected]> > -- > 2.43.0 I've added a recommendation in the Linux man-pages contributing documentation that patches be sent with a range diff, and also that patches be sent in PGP-signed mail (if the user has a PGP key). It has specific instructions like the above (but simplified). <https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/tree/CONTRIBUTING.d/patches?id=12aca537ce78a41bbcdaf485209691e10f8002d7#n91> Feel free to copy any of that documentation. I also recommended specific mutt(1) settings: set crypt_autosign = yes set crypt_protected_headers_write = yes And git-send-email(1) configuration for using with neomutt(1): [sendemail] sendmailcmd = neomutt -C -H - && true For all the documentation for mail and patches, see these two files: <https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/tree/CONTRIBUTING.d/patches> <https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/tree/CONTRIBUTING.d/mail> Have a lovely day! Alex -- <https://www.alejandro-colomar.es/>
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE6jqH8KTroDDkXfJAnowa+77/2zIFAmYw1fYACgkQnowa+77/ 2zIt6g/7B+A94mZpRhDLvPEZPgnX7nJRPXWOKrFkW2G3myo2XIS176l+4CngBBml k7cSQ42AdrBUtEPw9ptwNpq4YEluBCiMmAQR1Su3f8XDf/EMDqFGYAWomRRAFJ0B tP2Ju7jW+sEKQBOhb4g94/Fi8n3PzCCpFGF1VMnh5y9s6VqizrG/ts7IS8v+VHYt VlVbFsy7sIVc1rNE5+3NIbpBO9tvIFAR01NIRCicAv2ZL+Q9RsAwIxTTasQXdW+O g3W78PA858eQrx5iJmId1BfVZq7mFeyOBE80A1aFtEsSu8sW1ZDTy2M2uNXmHcz6 OlQC9HiVlNbrVQkl7MdX4nkeeACICsjqYLoSHS6NOt55DUJ+jdRH+mKvihuGGEMs mlQEh8vtRJs6SI3mU8Dv/z+3yxIxrRUCDGVF27tEVm3U8XgUDgFWfhVBL8bFcWvj KZhPhCPZ4nZhsGBDK9BFN1qucEtkYmakt0BmTwxMhUaMmn+bH+oTuwnmaZGMSajo xwzRymFeruYeCj3iXzBwfdrOaakuFZwQ1V1TnM6O9p78eqV9KHNvxBo91RCkN5qw oGVgw2K1CN+kEzwubzScFNTfGBLxxgWLDGDAXnuPh67mdPd5RXGSjZuvmQYafhl6 p1FnjVXQcCcU1XpjkJIVOt/tZehC5+ijYsxThYzKNj/vuR0JmiE= =cIb7 -----END PGP SIGNATURE-----