← Back to context

Comment by eru

2 days ago

Well, a kernel bug gets write access to everything. A bug in userland is a bit more constrained in what it can do.

That counts especially for accidental bugs and denial of service. To make a userland bug exploited adversarially not impact the rest of the system requires more hardening of the kernel.

Yeah a userland bug just gets all my passwords, SSH keys, personal secrets and whatever.

Say it with me - there's no practical difference.

  • You are talking about a single user system.

    You can compartmentalise further.

    Modern processors even give you these 'rings' to help with the hardware side of that, if you want to.

    • Yes, these are the standard excuses. But has anyone actually thought about them in the last twenty years, in the context of the way we actually use computers?

      3 replies →