Assume I have a process X and then it has loaded some shared library Y into its address space. I then manage to swap this library Y with a different version Yprime, what would be the effect on the process?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No effect. The loader holds the library open until the process ends (or until the library is unloaded via
dlclose(3)), which means that it keeps using the same (now deleted) library since its blocks still exist on disk.