Thomas Munro <thomas.munro@gmail.com> writes:
> Yep. How long is /proc/XXX/cmdline (check with wc -c /proc/...) in a
> postmaster near you? You'd always get that much, plus as much of
> /proc/XXX/environ as we can find before you reach LD_XXX=, which on a
> typical system would, I guess, usually be never.
I'd be happier about this if the target pattern were more restrictive.
Is there reason to think that musl keeps a pointer to anything besides
LD_LIBRARY_PATH?
regards, tom lane