On Mon, 2006-06-05 at 20:30 -0600, Meswani, Mitesh wrote: > In this kernel module I am trying to implement a function that can be > called from user space. > > I have found through various posts that using unused system calls and > replacing them temporarily can acheive this objective. Mitesh, IMHO you can achieve this implementing communication between user space and kernel space via /proc or /sys interface. Otherwise you can check out LSM hooks if something matches your goal. Ciao ciao sp0nge -- Non me la menare, non capisco cosa vuoi, tanto lo sapevi che non ero come voi: a me piacciono le birre scure, e le moto da James Dean, non quelle cazzate che si dicono nei film. -- 883 -- The information transmitted is intended for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/