[musl] Re: Tweaking the program name for <err.h> functions

Skyler Ferrante (RIT Student) sjf5462 at rit.edu
Mon Mar 11 20:08:47 UTC 2024


Yup, I agree. My confusion was from an incorrect assumption that
non-suid / suid programs would be handled the same way. I knew that
strace wouldn't keep it setuid by I didn't realize glibc only checked
closed fds for suid programs (which makes sense, this doesn't matter
for non-privileged programs).

> application erroneously closes fd 2

And hopefully no program does that, and if it does, that's their fault :)

Skyler


More information about the libbsd mailing list