AMD Open-Source GPU Kernel Driver Above 5 Million Lines, Entire Linux Kernel At 34.8 Million - eviltoast
  • tormeh@discuss.tchncs.de
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    Holy mackerel. This seems excessive, and there’s gotta be so much nasty stuff hidden and/or forgotten in there. Is the Intel driver as large?

    • jcarax@beehaw.org
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Meanwhile the open-source NVIDIA “Nouveau” driver is around 201k (21.7k blank lines, 24.3k lines of comments, and 155k lines of code). Or the Intel i915 DRM kernel graphics driver is around 381k lines via the same cloc judgment.

      • Imacat@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        Open source code isn’t immune to exploits. It’s impossible to exhaustively test every interaction in massive code bases for unintended behavior.

        The upside of open source is that a well intentioned person might find a vulnerability and get it fixed. Up until then it might be someone’s 0 day.

          • Imacat@lemmy.dbzer0.com
            link
            fedilink
            arrow-up
            4
            ·
            1 year ago

            Open source code isn’t immune to backdoors. It’s impossible to exhaustively test every interaction in massive code bases for unintended behavior.

            The upside of open source is that a well intentioned person might find a backdoor and get it fixed. Up until then it might be someone’s backdoor.

            Better?