spartanwins has asked for the wisdom of the Perl Monks concerning the following question:
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'
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Interpose system call 'open' using LD_PRELOAD does not work for 'open' called from within perl programs. Why?
by Corion (Patriarch) on Mar 10, 2008 at 07:13 UTC | |
Re: Interpose system call 'open' using LD_PRELOAD does not work for 'open' called from within perl programs. Why?
by ysth (Canon) on Mar 10, 2008 at 08:03 UTC | |
Re: Interpose system call 'open' using LD_PRELOAD does not work for 'open' called from within perl programs. Why?
by pc88mxer (Vicar) on Mar 10, 2008 at 19:57 UTC | |
Re: Interpose system call 'open' using LD_PRELOAD does not work for 'open' called from within perl programs. Why?
by kyle (Abbot) on Mar 10, 2008 at 17:46 UTC |
Back to
Seekers of Perl Wisdom