> If there isn't an existing kernel interface, you would need to > introduce such an interface, which allows registering and > unregistering... what does "mycache" do? My aim is to write a kernel module that intercepts everything that is written to the pty, hence the modified pty.c. If my module is loaded, the mycache function should store the buffer in pty.c in a place where my module can get at it. Thanx for the replies... Jrgns -- ><> 083 511 7932 dutoitjj@yahoo.co.uk "For those who belive, no evidence is necessary. For those who don't believe, no evidence would suffice." -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/