On Thu, 10 Jan 2002, David Balazic wrote:
> 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.
>
Lovely, an X extension to allow arbitrary programs arbitrary memory
access. I can see the CERT advisories now. Why don't you just
change the permissions on /dev/mem so anyone can access them. Yes,
I'm being sarcastic.
Mark.
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert