I want to use LD_PRELOAD
to intercept the network interaction(including listen, bind, send, recv,read,write, recvmsg, sendmsg of libc.so.6) of mysqld
.
I can intercept the network interaction of my own programs, but it didn't work on mysqld
.
Could anyone please tell me the reason? Or mysqld
uses other network functions instead of send/recv, read/write, recvmsg/sendmsg the to perform network interactions?