On Thu, 10 Jan 2002, David Balazic wrote:

> 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.

Still a bad idea - the userspace process can then proceed to scribble on
anything anywhere in memory (/dev/mem is _all_ of memory - all MMIO
devices, physical RAM, everything). At least if it's SUID root, someone
had to make it that way (or your package system did it) as root.

Derrik Pates      |   Sysadmin, Douglas School   |    #linuxOS on EFnet
[EMAIL PROTECTED] |     District (dsdk12.net)    |    #linuxOS on OPN

_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to