Re: architectures that prevent freezing
Re: architectures that prevent freezing
- Subject: Re: architectures that prevent freezing
- From: Jean-Daniel Dupas <email@hidden>
- Date: Fri, 11 May 2012 21:45:10 +0200
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 (email@hidden)
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:
This email sent to email@hidden