News for hackers. Stuff that matters.
Re:Linux-Kernel: Printk() Indexing by dcminter on Friday June 11, 2021 @11:40AM (#27474803)
According to the article "those messages have never really been considered to be a part of the kernel's ABI"
Re:Linux-Kernel: Printk() Indexing by mjw1007 on Friday June 11, 2021 @12:28PM (#27475349)
Right, but the We Do Not Break User Space rule has often been explained (somewhat emphatically on occasion) as depending on whether anyone's code actually gets broken, not on whether the thing they were relying on was intended to be, or advertised as, a stable interface.
Re:Linux-Kernel: Printk() Indexing by fctorial on Friday June 11, 2021 @01:20PM (#27476042)
I think WDNBUS is only respected for the syscall api.
Re:Linux-Kernel: Printk() Indexing by mjw1007 on Friday June 11, 2021 @02:17PM (#27476747)
Here's a relatively mild rant where the breaking change in question was in /proc/cpuinfo:

«Really. Shut up.

The whole "no regressions" thing is very much about the fact that we don't waste users time.»

https://linux.kernel.narkive.com/7hMPh8zX/patch-revert-9fc21...

Of course in an ideal world the extent of the intended promise would be clearly written down in some obvious place. But we don't live in an ideal world.

Re:Linux-Kernel: Printk() Indexing by dcminter on Friday June 11, 2021 @06:09PM (#27479109)
I found this statement from Linus in that thread;

"It's not that the kernel ABI (with all the system calls, all the /proc files, all the ioctl's, etc) is set in stone and "sacred". Absolutely anything can be changed, wildly.

But if it turns out that applications (or hardware) that people use end up breaking noticeably, then that is a regression."

Re:Linux-Kernel: Printk() Indexing by dcminter on Friday June 11, 2021 @01:40PM (#27476300)
What about /proc ?
Re:Linux-Kernel: Printk() Indexing by touisteur on Friday June 11, 2021 @02:11PM (#27476688)
/proc has surely killed some user apps. If you were expected to see a fixed number of lines, a fixed number of columns or the fields to mean the same thing, you're in for suffering. At least I know of meminfo changes, stuff in /proc/net...

But to be honest, so have ifconfig, hostname, df...

At least in procfs they add things (columns, lines) so apart from meminfo I don't know of changing the meaning of fields.

Re:Linux-Kernel: Printk() Indexing by tinus_hn on Friday June 11, 2021 @04:35PM (#27478141)
Linus has been pretty strict in not unnecessarily breaking userspace even if something is not strictly ‘part of the ABI’. It’s a judgement call though.