I want to load a shared object to certain processes, there are certain conditions that are required
- loading to only specific processes and not all of them
- it has to be done before the process code starts executing
- the processes are not mine
What are the available ways to support this functionality on Linux?
Can it be accomplished with "/etc/ld.so.preload" or "LD_PRELOAD=/my/lib.so"? Is a kernel module needed for this?
Any help would be appreciated
Thanks!