Derrik Pates wrote:
> 
> On Thu, 10 Jan 2002, David Balazic wrote:
> 
> > Couldn't the X server process open /dev/mem and then pass the file descriptor
> > to the X client ?
> 
> They're not running in the same process context. The X client communicates
> with the X server via either TCP sockets or UNIX domain sockets (UNIX
> domain sockets for local apps), but they run as completely separate
> processes.

Yes, one process can give a file descriptor to another. It is an interesting
UNIX feature that many people do not know, so they go and write terrible
"solutions" of their own.

I am NOT an UNIX expert. I might have confused things. So somebody should
check it in some good UNIX programming book.

Or ask Alan Cox :-)

-- 
David Balazic
--------------
"Be excellent to each other." - Bill S. Preston, Esq., & "Ted" Theodore Logan
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to