Navigation
Recherche
|
Linus Torvalds Injects Tabs To Thwart Kconfig Parsers Not Correctly Handling Them
mardi 16 avril 2024, 00:10 , par Slashdot
Michael Larabel reports via Phoronix: Within yesterday's Linux 6.9-rc4 release is an interesting little nugget by Linus Torvalds to battle Kconfig parsers that can't correctly handle tabs but rather just assume spaces for whitespace for this kernel configuration format. Due to a patch having been queued last week to replace a tab with a space character in the kernel tracing Kconfig file, Linus Torvalds decided to take matters into his own hand for Kconfig parsers that can't deal with tabs... Torvalds authored a patch to intentionally add some tabs of his own into Kconfig for throwing off any out-of-tree/third-party parsers that can't correctly handle them. Torvalds added these intentional hidden tabs to the common Kconfig file for handling page sizes for the kernel. Thus sure to cause dramatic and noticeable breakage for any parsers not having tabs correctly.
Read more of this story at Slashdot.
https://linux.slashdot.org/story/24/04/15/2038230/linus-torvalds-injects-tabs-to-thwart-kconfig-pars...
|
56 sources (32 en français)
Date Actuelle
dim. 24 nov. - 03:25 CET
|