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.
Yall understand that what actually changed is a symlink? That
systemd-run
is now linked fromrun0
, and that’s enough to make a SUID-less sudo?Basically.
systemd-run
was already able to do it, all that really changed is the interface for it. The change torun.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.Didn’t know this, thanks for sharing!