title: Catching a system call just before control enters a shared library
body: <p>I have wrapped a number of system call function like write(), open() etc and LD-PRELOAD is used to override the original system calls. Moreover I have defined a few more functions and made this too a shred library. </p>
  
  <p>I would like to catch all system calls from different application processes to these shared libraries before they enter the shared library. How can i do that?</p>
  
  <p>Thanks</p>