You also get the same thing with LD_PRELOAD.
We only way forward is proper sandboxing and not allowing any form of executables to run from $HOME, even if it means some coding patterns will no longer be as easy to implement.
We only way forward is proper sandboxing and not allowing any form of executables to run from $HOME, even if it means some coding patterns will no longer be as easy to implement.
I believe it's not as easy on Windows for a process to protect itself against DLL injection.
So I checked and apparently this no longer works since AT_SECURE exists, around 2.6.0 time frame.
It has been a while since I cared to do this on GNU/Linux, maybe around 2002.
So thanks for forcing me to update myself.
That's not a poor man's solution. That's how Valgrind's leak checker works (AFAIK).