While the Linux kernel has inclusive terminology guidelines for the past five years to replace phrases like master/slave and blacklist/whitelist, there has surprisingly been a “genocide” function within the kernel that was questioned when it was first submitted for inclusion but now removed in Linux 6.19.

Introduced to the Linux kernel back in 2023 was the d_genocide() function as part of various dcache updates to the kernel. The genocide name was questioned when the patches were first posted by longtime Linux developer Al Viro

  • panda_abyss@lemmy.ca
    link
    fedilink
    arrow-up
    6
    arrow-down
    15
    ·
    1 day ago

    I wouldn’t mind replacing ‘kill’ with some variant of send/signal, sure that’s what kill does.

    • BlameTheAntifa@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      11 hours ago

      That one does what it says, says what it does, is short to type, and doesn’t psychologically reinforce any negative stereotypes.

    • FauxLiving@lemmy.world
      link
      fedilink
      arrow-up
      8
      ·
      24 hours ago

      It does lead to some interesting sentences when combined with other kernel terms:

      Generally killing the parent also kills the child.

      • yesman@lemmy.world
        link
        fedilink
        arrow-up
        4
        arrow-down
        22
        ·
        1 day ago

        That’s a false choice. And kind of silly. If you read the article, Linux has already changed commands somehow without blowing up everyone’s scripts.

        • fruitcantfly@programming.dev
          link
          fedilink
          arrow-up
          33
          arrow-down
          2
          ·
          1 day ago

          The article is about an internal kernel API: They can easily rename those, since they are not exposed to user-space.

          But you seem to be talking about the kill command and/or the kill function, that are part of the POSIX and C standards, respectively. Renaming either would break a shit-ton of code, unless you merely aliased them. And while I agree that kill is a poor name, adding non-standard aliases doesn’t really offer much benefit