3 ms·
$ ls -l /boot/vmlinuz-linux -rw-r--r-- 1 root root 9464864 Jul 16 12:59 /boot/vmlinuz-linux That's over 9MB, running in supervisor mode. 2021, and people are
by snvzz 5y ago
$ ls -l /boot/vmlinuz-linux
-rw-r--r-- 1 root root 9464864 Jul 16 12:59 /boot/vmlinuz-linux
That's over 9MB, running in supervisor mode.
2021, and people are still surprised every time a kernel bug with security implications is found.
Maybe it is time to look at different OS designs. Large companies such as Google (Fuchsia) or Huawei (HarmonyOS) have begun to pick up on this.
- samus 5y agoMost of it is drivers though, and stuff that is pretty much required to be there unless one's pasttime (or dayjob) is to tailor and harden kernels.
- snvzz 5y agoThere are architectural ways to avoid this problem. Making the kernel as small as possible, and having components and drivers run unprivileged is the primary way to achieve this. Some real examples that do this: Minix3, Haiku, Genode, Fuchsia, Harmony.