Will the SCM_RIGHTS ancillary message over unix domain sockets do what
you want? See unix(7) for details (and if you don't have an entry for
unix in section 7 of your manual pages, try the latest manpages package,
available from ftp.win.tue.nl:/pub/linux-local/manpages or
ftp.xx.kernel.org /pub/linux/docs/manpages).
With this message, the X server can pass an array of file descriptors to a
client which can then call mmap on it.
-- Matthew Wilcox <willy@bofh.ai> "Windows and MacOS are products, contrived by engineers in the service of specific companies. Unix, by contrast, is not so much a product as it is a painstakingly compiled oral history of the hacker subculture." - N Stephenson- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/