News for hackers. Stuff that matters.
Re:x86: Deprecate a.out support by Someone on Friday March 08, 2019 @11:50AM (#19339268)
“Don’t break userspace” also means that I should be able to run a binary that I recover from a tape backup made in 1992.
Re:x86: Deprecate a.out support by Arnt on Friday March 08, 2019 @01:46PM (#19340730)
I assume that binary used shared libraries?

I still have the file system from a linux host I installed in 1999 or 2000. Debian; I made a VM copy when I retired the iron. It doesn't have a.out shared libraries, so even if the kernel's support worked in 2000, I could't run that binary for lack of shared libraries.

If the kernel's support hasn't really been tested for 19-20 years and the shared libraries haven't even been built, then I think running that binary has very poor chances of working.

Re:x86: Deprecate a.out support by ktm5j on Saturday March 09, 2019 @10:59AM (#19346721)
I'm not trying to weigh in on the debate here, but it's perfectly reasonable to imagine having a statically linked binary that you wanted to run..
Re:x86: Deprecate a.out support by Arnt on Monday March 11, 2019 @05:34AM (#19357701)
Absolutely.

Now, if you agree that shared libraries haven't been available for a long time and that coredumps haven't worked for a long time, that doesn't mean that nothing works. That doesn't mean that every case has been broken. But I think it means that the support has been very lightly tested for a long time now, or not tested at all. And assuming that something works when it hasn't been tested for a long time is ugh.

I think the reason I care about this is dogmatic. I believe, dogmatically, that untested code is broken. If you accept that dogma and do not test a.out support now, then the coming change does not break a.out. If you do test, fine. If you disagree that untested code is broken, fine. If you say it "might imaginably work" or somesuch, fine.