Login
You're viewing the ruby.social public feed.

Replies

  • Nov 29, 2026, 6:10 PM

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

    💬 7🔄 4⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 2🔄 1⭐ 0
  • Nov 29, 2026, 6:17 PM

    @dysfun @mcc @davidgerard@circumstances.run uuuuurgh, there is a world where that makes sense, but we ain’t on it. Fuck these guys.

    💬 0🔄 0⭐ 0
  • Nov 29, 2026, 6:23 PM

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

    💬 1🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Nov 29, 2026, 6:27 PM

    @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

    💬 1🔄 0⭐ 0
  • 💬 0🔄 1⭐ 0
  • 💬 1🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • Nov 29, 2026, 6:36 PM

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

    💬 1🔄 1⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 2🔄 0⭐ 0
  • 💬 0🔄 0⭐ 1
  • 💬 0🔄 0⭐ 1
  • Nov 29, 2026, 6:44 PM
    @mcc@mastodon.social @davidgerard@circumstances.run Linux has too many device drivers running in kernel space for a reasonably sized group to maintain it.

    Primarily because it supports too many devices.

    Primarily because especially the PC platform is so fragmented and lacks standards.

    Imagine a world with one standard protocol for reaching a SATA drive. One standard protocol for connecting to a GPU (here, just low-level data transfer in kernel, with GPU specific userspace drivers). One standard protocol for WiFi adaptors.

    Proof that this could have worked: we are OK with one USB storage protocol, and one USB HID protocol. So we know it can be done...
    💬 0🔄 0⭐ 0
  • Nov 29, 2026, 6:46 PM

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

    💬 1🔄 0⭐ 0
  • Nov 29, 2026, 6:54 PM
    @mcc@mastodon.social @davidgerard@circumstances.run False.

    Linux indeed made a questionable decision of requiring drivers to be in the kernel source tree, essentially thus having to "gobble up" all the drivers into itself, as out-of-tree drivers will never be maintainable due to there being no stable driver ABI.

    Windows OTOH fares only slightly better. It has a stable driver ABI, but bad drivers are a common source of vulnerabilities. And Microsoft can't patch bad drivers as they don't even have the source, but often aren't even the ones shipping them anyway.

    (Both OSes BTW have not really gone for userspace drivers... which usually means that an exploit against a driver doesn't just give access to that device and the data going back and forth via it, but also the entire rest of the system)

    My point is - the real root cause is the fact that the PC platform is so fragmented, which forced both Linux and Windows kernels into (different) bad decisions. We should have driven the PC platform towards more standardization and away from "a separate driver for each model of each vendor" latest 30 years ago...

    But of course, especially Microsoft placed strong incentives against standardized drivers by giving device manufacturers the ability to place their icon (thus their advertisement) into the OS for every user of their hardware, into every screenshot including the system tray, by making their own driver...
    💬 0🔄 0⭐ 0
  • Nov 29, 2026, 7:00 PM

    @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

    💬 1🔄 0⭐ 0
  • Nov 29, 2026, 7:02 PM

    @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

    💬 2🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • Nov 29, 2026, 8:34 PM

    @mcc @kgMadee2 @divVerent @davidgerard@circumstances.run *checks documentation*

    oh wow, WDM is still The Thing. Even in 2026.

    that does indeed jibe with what MSDN was saying back in 2000-2001, to my great surprise.

    yeah, i’d bet the WDM drivers i wrote back then (for NT and Win2k) would port much more readily to current Windows, versus their linux 2.2-2.4 counterparts (i got a pretty in-depth comparative education on OS internals, years before i went to college for computer science)

    💬 0🔄 0⭐ 0
  • Nov 29, 2026, 8:41 PM
    @cmdrmoto@hachyderm.io @mcc@mastodon.social @kgMadee2@mathstodon.xyz @davidgerard@circumstances.run Well, for Linux even userspace isn't extremely portable across time.

    Like, try getting something only 11 years old to work on a current Linux distro: Undertale.

    The thing depends on libcrypto.so.1.0.0 (despite being an offline game and having no really good reason to need OpenSSL, but that's just typical software bloat as we know it) - and no distro ships that anymore.

    Meanwhile, the Windows .exe runs perfectly fine in WINE...

    Yes, Linux has its own version of DLL Hell. Only if you use distro packages only, or compile from source, this isn't so much of an issue (although, different incompatible major versions of the same library's dev package conflicting is also a nasty problem, although usually easier to solve).

    Given that's the state of userspace support closed source, why would we expect any better from kernel support for closed source? Really, only open source runs well on Linux. Many say that's the whole point and pretty much intentional.
    💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • Nov 29, 2026, 8:46 PM

    @cmdrmoto @divVerent @kgMadee2 For the record, flatpaks are really good. I think they might just be "the solution" Although due to them doing something really weird to make 3D acceleration work, they may not work long-term with games specifically.

    Hilariously, the solution to linux kernel drivers may look a lot like flatpaks (netbsd, redox etc running a linux kernel in a VM and borrowing its drivers)

    💬 0🔄 0⭐ 0
  • Nov 29, 2026, 7:03 PM

    @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

    💬 1🔄 2⭐ 0
  • Nov 29, 2026, 7:09 PM

    @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

    💬 2🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Nov 29, 2026, 8:03 PM

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

    💬 1🔄 0⭐ 0
  • Nov 29, 2026, 8:13 PM

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

    💬 0🔄 0⭐ 0
  • Nov 29, 2026, 8:17 PM

    @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

    💬 1🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Nov 29, 2026, 8:39 PM

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

    💬 0🔄 0⭐ 0
  • Nov 29, 2026, 6:10 PM

    @mcc @davidgerard
    do you know some non-proprietary filesystem which has no slop in it? i have all my backups on ext4.

    💬 0🔄 0⭐ 0