Address translation

2000-11-21 Thread Rubén Gallardo Fructuoso
Hi everybody! I'm developing a module of file system filter and I have a question about it. Does anybody know a function or method in order to translate an user space pointer into a valid pointer in kernel mode? I'd like to avoid copying data (such as the 'copy_to_user' a

Sharing memory between processes in kernel mode

2000-11-20 Thread Rubén Gallardo Fructuoso
Hi! I want to share memory between two differents processes in kernel mode. The goal is to copy the read buffer of a user process into the read buffer of another user process. I know it's possible to do it by creating an intermediate buffer in kernel mode and to use the 'copy_from