Just one more thing- is there any way of making the LD_PRELOAD associate with socket() calls from only a particular 'pid'. If I set the LD_PRELOAD
Use a script that sets LD_PRELOAD and use it to execute programs which have to be hijacked :
$ mysocket.sh <program_to_be_hijacked>
or use getpid() in the library.
Regards, Swapnil. - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html