[PLUG] Kernel level file calling
Manas Alekar
manas_alekar at yahoo.com
Sat Nov 20 10:11:25 IST 2010
> Now can I write a kernel module or any other application as a daemon, which
> intercepts this call and reads the contents of my file and then passes back
> the control to foo.
Your question is not well formed. Read the data in the module? And? Even so,
you don't need to write a kernel module. Hijack the system call using env
variable
LD_PRELOAD.
Best,
Manas
More information about the Plug-mail
mailing list