this post was submitted on 01 May 2024
135 points (97.2% liked)
Open Source
31072 readers
712 users here now
All about open source! Feel free to ask questions, and share news, and interesting stuff!
Useful Links
- Open Source Initiative
- Free Software Foundation
- Electronic Frontier Foundation
- Software Freedom Conservancy
- It's FOSS
- Android FOSS Apps Megathread
Rules
- Posts must be relevant to the open source ideology
- No NSFW content
- No hate speech, bigotry, etc
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
view the rest of the comments
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!