This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Hook functions for system calls
- From: Aditya_rekha Dharanipragada <adharani at cs dot sunysb dot edu>
- To: libc-alpha at sourceware dot org
- Date: Mon, 17 Apr 2006 17:43:44 -0400 (EDT)
- Subject: Hook functions for system calls
Hi,
I want to write hook functions for system calls that happen either
directly or indirectly ie. I need my hook write function to be invoked
whenever write() or fprintf() system call is invoked by the program. I
tried tweaking glibc but not able to find exact point when I can plugin
the hook function. Any suggestions?
Thank you,
Rekha