• deadbeef79000@lemmy.nz
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    4 months ago

    Having the data exposed to userspace via an API would avoid having to have a kernel module at all… Which when malformed wouldn’t compromise the kernel.

    • ricecake@sh.itjust.works
      link
      fedilink
      arrow-up
      4
      ·
      4 months ago

      I mean, sure. But typically operating systems don’t expose that type of information to user space, instead providing a kernel interface with user mode configuration.

      It’s why they use the same basic approach on mac and Linux.