Live data from Hacker News

Why is it all in the kernel?

lawrencecpaulson.github.io

41–43 of 43 posts

Re: Why is it all in the kernel?

#41
post #21
post #18

Earlier quoted context omitted.

In an OS kernel that instinct is also true: 'we want to put as little as possible in the OS kernel, because that stuff can bring down the machine.'

That isn't true, as there are many things that can bring down the machine. If your X or Wayland server crashes, it brings down your machine.

No, that is true, even if not uniquely. A kernel bug can easily bring down the machine. Maybe Xorg can also manage it... although IMHO that also sounds like a kernel bug (surely it's the kernel's job to ensure no user program can do that?)... but that doesn't make the kernel safe. And I suspect it's easier to take down the machine from ring 0 than a display server even if both can do it.

Re: Why is it all in the kernel?

#43
post #39
post #38

Earlier quoted context omitted.

Eh, yes? Just look the discussions surrounding the development of any web browser? Or look at the permissions system in Android or iOS or on Mac (and perhaps even Windows?).

So you acknowledge a browser bug is just as bad as a kernel bug.

A bug in the website itself is just as bad, if it's a website you care about.

They differ in how easy a fix is to develop and roll out, and what the blast radius is.

Post reply on HN