Messages in this thread | | | Date | Fri, 25 Nov 2005 01:34:27 -0500 | From | Jeff Garzik <> | Subject | Re: [RFC] Small PCI core patch |
| |
Robert Hancock wrote: > Jeff Garzik wrote: > >> One sticking point is validation: ensuring userspace cannot cause >> invalid GPU microcode to be generated. [I can just hear Al Viro >> swearing, just thinking about creating secure compilers...] > > > I suspect the amount of data going through is large enough that this > wouldn't really be practical. I think you'd have to deal with the code > generating GPU instructions having to be trusted and have the device > interface require root privileges..
All I said was "ensuring userspace cannot cause invalid GPU microcode to be generated."
No matter what runs with root priveleges, other graphics processes do not, and one must ensure that app clients cannot generate sequences which cause the hardware to fail. Which is a lot more difficult, when the unpriveleged app clients are submitting GLSL.
Jeff
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |