that 40k line slop commit linus ranted about then accepted anyway?? was ted t'so pushing 40k lines of slop into ext4
looking forward to urgent tests of the backup infrastructure soon as that hits the distros
that 40k line slop commit linus ranted about then accepted anyway?? was ted t'so pushing 40k lines of slop into ext4
looking forward to urgent tests of the backup infrastructure soon as that hits the distros
@davidgerard hastily backing up all my important files to the NTFS partition
@davidgerard I'm completely baffled how nobody has yet run with the "Fork the pre-claude 5.12-LTS kernel, crowdfund fixing all CVEs since then by hand". The fact it currently seems more likely someone will get Redox or NetBSD running linux apps than that this thing with the 5.12 kernel will occur seems to me like a sign Linux may have been fucked on the maintainability front since before claude. It also may not help it's not clear to me if Linux is tracking CVEs in any useful way.
@mcc Linux is spamming CVEs for any bug at all, so absolutely not
@mcc @davidgerard linux assigns every bug a CVE now regardless of whether it has any security impact at all. it is a protest against the CVE system.
@dysfun @davidgerard I'm aware, but I was trying to leave space for there to be a separate, non-CVE system within which Linux is tracking security issues with the kernel. I do not know if this exists.
@davidgerard @dysfun it seems to me there are lots of legitimate reasons to be annoyed at CVE but this is not the same thing as it being reasonable for a project as critical and well-funded as Linux to do no tracking at all
@mcc @davidgerard I thought the guy who split off to Rocky Linux was talking about doing this very thing at one point.
@Kancept @davidgerard Okay. Did he do it?
@mcc@mastodon.social @davidgerard@circumstances.run
I'm not baffled at all by that for exactly the first word in that proposal: fork. Forking the kernel is accepting an absolutely enormous, borderline insurmountable burden.
@daemonspudguy @davidgerard I am entirely aware, but if I ran a business that depends on Linux, I would consider the 7 series an unacceptable business risk. Also you'd think writing a new operating system and ecosystem from scratch would also be a large, insurmountable burden but right now it looks much easier.
@daemonspudguy @davidgerard The fact it is obviously true that a fork is harder does not make it less worth marveling it, in my view
@mcc @davidgerard you can do it. It's FOSS. Feel free to fork the kernel and maintain it.
@marmarta @davidgerard Incorrect for at least two reasons
@divVerent @davidgerard I disagree. I think the problem is not that there are too many types of hardware, but that Linux does not have a stable interface for its device drivers, threatening an impossible compatibility treadmill for forks. If it were impossible to support the range of PC hardware, then there would not be more than one operating system in the world, and desktop Linux would not have occurred because Linux could not have replicated Windows' device support.
@divVerent @davidgerard I don't really see an argument in your post. I just see you repeating the thing you said before.
Putting drivers in the kernel source tree, in kernel space but outside the source tree, or userspace does not seem to me the important thing. The important thing is whether there is a defined, documented interface and some sort of stability promise
Also
"We should have driven the PC platform towards more standardization"
Who is "we"? I was a mac user until like 5 years ago
@divVerent @davidgerard Whatever other bad things you or I may respectively believe about Microsoft, the reason I believe I could potentially write a forward-compatible Windows driver or a third-party piece of software that ingests and uses Windows drivers is because Microsoft writes *documentation*. They write documentation and the documentation forms an implicit contract with third-party developers
@divVerent @davidgerard okay, yes, this i agree with
@mcc @davidgerard the kernel is a giant monster of monolithic code which means forking it would be a massive undertaking
Folks who want to work on kernels who don't want to work on "the" linux kernel would rather work on a modern kernel design than the monolith that Tannenbaun told Linus was a bad idea back in 1992
@Jer @davidgerard i am not an OS person. but if this is about microkernels, i do not believe that microkernels are the future and i see much real-world evidence that people who start work on microkernels do not stick with that architecture once they hit contact with real-world user requirements.
i am probably going to be contributing to a microkernel soon. that project's argument for µkernels is "they're easier to write and maintain and make secure". that much sounds plausible
@mcc @Jer @davidgerard It's possible to do strong isolation in monolithic kernels via language-based security.
Very few bother to actually do that.
Ironclad does.
Microkernels are an architectural/design technique to work around a language's lack of appropriate semantics, mostly.
(It's also possible to implement microkernel semantics in such a language, too, and there are benefits for code modularity & such.)
@lispi314 @Jer @davidgerard I think that leveraging hardware memory protection is a useful thing rather than trusting entirely to a language's safety features. Language safety guarantees can't persist in the presence of heap corruption and heap corruption is easy.
Incidentally, I've heard that the current MacOS kernel (not a proper µkernel for many years) is able to hardware-memory-protect *parts of the monolithic kernel* from accessing memory it shouldn't. That's very interesting to me.
@mcc @Jer @davidgerard It's somewhat similar to what Genode and Qubes do, to varying degrees.
Hardware isolation can be defeated by a number of ways too.
I would much rather rely on language semantics with an implementation that opportunistically also uses hardware semantics to redundantly enforce its own semantics when they're available.
Heap corruption is easy in broken languages. And on broken hardware, which includes most hardware sold, yes (even Linus noted that). And heap corruption through exploiting broken hardware bypasses all IOMMU & other hardware isolation mechanisms.
But an additional problem with relying solely on hardware semantics rather than language + optional hardware is that it instantly turns all other hardware into e-waste. I consider that irresponsible and inaccessible.
is able to hardware-memory-protect parts of the monolithic kernel from accessing memory it shouldn't. That's very interesting to me.
Reading on what they do, a lot of it reads like they picked the parts of CHERI they liked. Which is indeed the way to go.
@mcc @Jer @davidgerard i have no clue what kind of "real-world user requirements" could possibly necessitate sharing memory in all kernel code because that's one of the major reasons linux is slow. locality is always the key to performance
@hipsterelectron Perhaps find an operating systems engineer and ask them. That is not me.
@mcc @hipsterelectron As far as I'm aware, it's the same reason memory isolation is rare across applications in general: "pass a pointer to a regular function call" is hard to beat as a straightforward data sharing mechanism between components. Even message passing based systems with strict ownership rules are easier to build when the core payload can just be a pointer with no serialisation or data copying required.
@mcc @davidgerard
do you know some non-proprietary filesystem which has no slop in it? i have all my backups on ext4.
@davidgerard wow, who knew ext4 had that many problems! It must have been really broken. /s
@davidgerard@circumstances.run
The… fucking filesystem is being slopped. Are you actually serious. The fucking goddamn motherfucking pissing filesystem. Great.
@davidgerard Empirically, ext4 is the second most-reliable filesystem I have used. Until now, I guess. (The first is of course ZFS.)
@pndc @davidgerard I use XFS in "the other places" (but largely out of inertia, having dealt with ext4 "undelete" requirements on the clock previously in life)
@bms @davidgerard I got bitten by XFS, admittedly all the way back in 2001, in which it did indeed successfully journal metadata and safely replayed the inode for /etc/passwd, but sadly didn't do the same for the contents. So I got a day trip to the datacentre to yank the server and wave an actual rescue CD at it.
@davidgerard I thought it was mostly tests?
@davidgerard@circumstances.run glad I'm using XFS tbh
@froge @davidgerard And ZFS is mostly fine but when it goes wrong IME there is no prospect of recovery.
@RogerBW@oldbytes.space @davidgerard@circumstances.run having the sources outside the kernel tree has just been a bit annoying, so I mostly avoided it
At this point i am afraid to install updates to my systems and am only doing so reluctantly when something major hits.
If someone with more time to commit than me would fork the kernel i would use what time and energy i have to help out and maintain a human made kernel. Hell, i'd even be willing to accept small amounts of LLM generated code as long as they were small enough to actually be properly code reviewed and fix any problems.
@davidgerard :wlfAghast:
that's it, I'm sticking to Fedora 44 and never running an update ever again until I migrate to a fully functional NetBSD or Redox setup