On Wed, 29 Dec 2004 03:50:49 +0100, Maurizio Monge <maurizio.monge@xxxxxxxxx> wrote: > It could be useful in the following case: suppose a server running as > root opens /dev/mem and would like to allow a client to access a small > portion of /dev/mem. It cannot pass to the client the whole file > descriptor to /dev/mem! Why not have the second process told which region to open and go from there? It's not actually that common for something to want to do what you're describing anyway :-). If you want to implement this, what do you want to pass across to the second process anyway - remember that a random pointer is useless outside of the process within which it lives and you already decided passing fd's was a bad idea. So what's left now? Cheers, Jon. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/