Get the latest tech news

Linus Torvalds Injects Tabs To Thwart Kconfig Parsers Not Correctly Handling Them


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 q...

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.

Get the Android app

Or read this on Slashdot

Read more on:

Photo of tabs

tabs

Photo of Linus Torvalds

Linus Torvalds

Photo of kconfig parsers

kconfig parsers

Related news:

News photo

Linus Torvalds Injects Tabs To Thwart Kconfig Parsers Not Correctly Handling Them

News photo

Google Workspace users will soon get voice prompting in Gmail and tabs in Docs

News photo

Chrome on Android preps a feature to help you manage all those tabs