The trouble with symbolic links
The trouble with symbolic links
Posted Jul 7, 2022 22:58 UTC (Thu) by Hello71 (guest, #103412)In reply to: The trouble with symbolic links by willy
Parent article: The trouble with symbolic links
i'm more inclined to agree with the proposition advanced by e.g. Rich Felker that actually suid executables are profoundly broken. privilege escalation should occur via communication with a system daemon using a well-defined protocol, not a partially-privileged process with ad-hoc environment inheritance rules. executing a suid program resets (at least) two prctl flags; without looking at the manual, which ones? actually, i'm not sure there's anything theoretically preventing adding mount namespaces to the long list of reset-on-suid-exe states.
