Its regarding 'interposing'
open system call and perl interaction.
I have a working code snippet which will interpose 'open' system call on Linux/Unix. But I am not able to trap 'open' calls made from within perl programs
My interpose methos uses LD_PRELOAD and hence assumes that the applications are using dynamic linking...
- does anyone know if perl 'open' uses static linking to OS 'open'?
- is there any other way to interpose/ intercept 'open' calls invoked from pre-existing perl code and steer it to my code before giving control back to the real 'open'
I have studied ex::override to some degree, but could not figure out how I could interpose 'open' from pre-existing perl code