musl-wiki
musl-wiki copied to clipboard
FAQ: update ldd information
according to what was recently discussed in #musl
.
A script that like is prone to invoking whatever is in the interpreter field...
Jun 04 04:24:45
<dalias>
[02:21:41] a proper ldd should get the PT_INTERP from the binary then execute it with --list
Yes, i disagree with dalias's suggestion. It only matters for a multilib/multiarch system, and even then, I'd rather be told that a given binary is not what I expected. It opens up too much for little gain.
Also I think squashing the commits would be nice.
Also I think squashing the commits would be nice.
certainly. i was just about to hit the "squash and merge" button, but to my surprise it isn't enabled for this repo. do you have admin rights to change that ?
<dalias> it's literally just exec /lib/ld-musl-x86_64.so.1 --list "$@"
<dalias> the gratuitously complicted one is trying to support multiple archs from one script
<dalias> rather than just hardcoding the right pathname
I don't think I have the privileges, no. Squashing locally with git leads to a cleaner commit message too...
And rebase makes for a more linear git history, which is all this really needs.