[sldev] Improving the avatar in SL: hair...

Callum Lerwick seg at haxxed.com
Sat Sep 1 10:32:39 PDT 2007


On Mon, 2007-08-27 at 07:55 +0000, Matthew Dowd wrote:
> > In theory you could just allow people to write shaders in GLSL. I'm not
> > up on the spec but seems to me that should be safe, the worst people
> > could do is maybe lock up the video card, and I would hope that would
> > only be because of bugs in the GL driver's compiler.
> 
> You are basically writing machine code to run on the GPU - there's limited checking even a perfect/bug free driver could do.

Well, you're not. You're programming in GLSL, a fairly limited language,
for a fairly limited architecture. You don't get things such as pointers
to cause trouble with, for example. The worst you could do is maybe
infinite loops, which could be dealt with.

Though I'm sure someone will figure out something.

An unprivileged user space program with the ability to lock up the
hardware is a major security failure any way you slice it. It should not
be possible. If it is, oh boy, the vulnerable video cards are going to
find themselves blacklisted by systems administrators worldwide until
they fix it. :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.secondlife.com/pipermail/sldev/attachments/20070901/6817f0e2/attachment.pgp


More information about the SLDev mailing list