> 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 _______________________________________ Pune GNU/Linux Users Group Mailing List
