I found this really old blog post and it still applies today.

We don’t really have antiviruses, and thats nice. But we have a huge monolithic kernel, we have random executable files all over the filesystem, we have systems that to this day often dont even update without elevated privileges.

Android took Linux and fixed it, long ago. You dont even have root! Their app ecosystem is often very restricted by design though, as its a phone OS.

Desktop Linux needs to get more secure, compartimentalized, perfectly usable

  • without sudo privileges
  • without apps having read/write access everywhere
  • without X.Org
  • with portals, control, Wayland, Pipewire, Flatpak
  • with a split up kernel, drivers in userspace, adapted to the actual hardware you are running
  • with as much hardening applied as possible to simply shut off everything you dont need.

I guess there are many great projects out there that try to create exactly such a system

  • musl, busybox
  • RedoxOS
  • hardened_malloc, *BSD software

Can you recommend more software that is secure by design? The blog author mentioned Postfix.

  • driveway
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    10 months ago

    Linux is not going to stop being monolithic. That’s why AOSP is looking into swapping out the kernel.

    • Pantherina@feddit.deOP
      link
      fedilink
      arrow-up
      1
      ·
      10 months ago

      I mean, HarmonyOS supposedly already did. Poorlyt his will only apply for custom SOC OS’ which have their one-device-one-OS anyways.