6/9/2026 at 7:55:16 PM
LD_AUDIT is another one worth knowing about (though I admittedly use it less often than LD_DEBUG) https://man7.org/linux/man-pages/man7/rtld-audit.7.htmlby alschwalm
6/10/2026 at 3:43:10 AM
Do you know where i can find a list of all LD_XXX environment variables?by rramadass
6/10/2026 at 4:36:26 AM
The man page ld.so has ENVIRONMENT section that looks pretty good.Otherwise one of the most reliable options is to simply grep the source code for calls to getenv, I would not be that surprised if their are some extra ones that are undocumented.
by zorgmonkey
6/10/2026 at 5:08:35 AM
Found it - https://man7.org/linux/man-pages/man8/ld.so.8.html#ENVIRONME...Yeah, i was looking for little known/undocumented environment variables (eg. i didn't know of LD_AUDIT).
by rramadass
6/10/2026 at 4:35:45 AM
Read The Fine Manpageld.so
by BobbyTables2
6/10/2026 at 5:09:15 AM
https://news.ycombinator.com/item?id=48471690by rramadass
6/10/2026 at 4:47:08 AM
[dead]by w1an0
6/10/2026 at 5:18:00 AM
A couple of posts on how to use LD_AUDIT;Leveraging LD_AUDIT to Beat the Traditional Linux Library Preloading Technique - https://www.sentinelone.com/labs/leveraging-ld_audit-to-beat...
rtld-audit and LD_AUDIT - https://vsoch.github.io/2021/ldaudit/
by rramadass