• OpFARv30@lemmy.ml
    link
    fedilink
    arrow-up
    16
    ·
    6 months ago

    Yall understand that what actually changed is a symlink? That systemd-run is now linked from run0, and that’s enough to make a SUID-less sudo?

    • NekkoDroid@programming.dev
      link
      fedilink
      arrow-up
      7
      ·
      6 months ago

      Basically. systemd-run was already able to do it, all that really changed is the interface for it. The change to run.c in the patch itself was <400LOC, and the entire patch was <1.4k lines with most being docs, tests and utils for coloring the terminal.