this post was submitted on 01 May 2024
133 points (96.5% liked)

Open Source

31200 readers
363 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] OpFARv30@lemmy.ml 15 points 6 months ago (2 children)

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 7 points 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.

[–] macattack@lemmy.world 1 points 6 months ago

Didn't know this, thanks for sharing!