Le 11 mai 2012 à 19:55, Jens Alfke a écrit :

> 
> On May 11, 2012, at 9:23 AM, Jean-Daniel Dupas wrote:
> 
>> While playing with GPU programming, I had a lot of such freeze, and they 
>> never locked the CPU. I was always able to connect to my machine though SSH.
> 
> So a regular user process can permanently lock up the display, requiring a 
> reboot, just by executing some bad GPU code?! That’s kind of a bad privilege 
> violation and could be considered a DoS exploit.
> 
> —Jens


It was on 10.6 and never test if the system was better at handling lack of VRAM 
on 10.7 (caused by like texture leak for example).
That said, if you want a DoS exploit, just send a shutdown Apple Event to the 
system, and it will stop the machine without asking anything.

osascript -e 'tell app "System Events" to shut down'


-- Jean-Daniel




_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to