lkml.org 
[lkml]   [2005]   [Nov]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-11-25 07:37    [W:0.041 / U:1.808 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site