Earlier quoted context omitted.
It remains disturbing to read that something needs to be privileged just so it can sandbox unprivileged code. Why should I have to choose between trusting the sandbox and trusting the code that runs inside it? Why do we keep collectively forgetting the lesson that the more useful a sandboxing technology becomes, the more likely it becomes that someone will need to run that sandbox inside another sandbox (or inside an…
It's not privileged in that it can sandbox unprivileged code, it's privileged in that it can run that code at all. Other processes are not allowed to execute writeable memory. MobileSafari has a special "dynamic-codesigning" sandbox entitlement that allows the JIT to function.
A new CSS-based web attack will crash and restart your iPhone
121–130 of 140 posts
Re: A new CSS-based web attack will crash and restart your iPhone
#122Earlier quoted context omitted.
It’s very convenient, but isn’t that scenario better covered by hibernating the os? That covers all app and doesn’t require any app to have special behaviour coded in
If I never had to restart, sure. I have to restart my laptop weekly at least. Heck, it locked up twice last week opening Diablo 3 forcing a hard power cycle. My phone gets restarted less often but still gets into odd states where a reboot is needed.
Re: A new CSS-based web attack will crash and restart your iPhone
#123Earlier quoted context omitted.
It works!
DO NOT CLICK THE LINK! Hour later I am still unable to restart my phone. It hangs on logo!! This may be a permanent fuck ;( unsure exact version but I have iOS 7 that hasnt been updated in about six months.
Re: A new CSS-based web attack will crash and restart your iPhone
#124Re: A new CSS-based web attack will crash and restart your iPhone
#125I have always wondered why Safari crashes can reboot the entire telephone. Doesn't iOS have multiple protection rings or is Safari running at ring 0? Or is it a precaution that inhibits jailbreak research?
Same here, I thought it was completely sandb0xed
Re: A new CSS-based web attack will crash and restart your iPhone
#126This reminds me of how I was unemployed for a good chunk of the year 2001. I was making a fresh start in a new city, and shopping my resumé to various graphics design firms. There was a prominent link to my portfolio site up top. After months of looking I didn’t get a single call-back. Eventually I got a job in another industry, and noticed a bunch of Macs in the corner that they used for testing. One day I decided t…
Re: A new CSS-based web attack will crash and restart your iPhone
#127Re: A new CSS-based web attack will crash and restart your iPhone
#128Earlier quoted context omitted.
Does iOS not enforce reasonable memory limits on apps to prevent a panic?
It does. Your app will get killed. The OS will be fine. My understanding is this bug uses up GPU memory/contexts, not normal system RAM, and that’s why it becomes an issue.
Re: A new CSS-based web attack will crash and restart your iPhone
#129Earlier quoted context omitted.
"Seems like on restart Safari wants to revisit previously opened pages" I've always found that behavior annoying. If I want to revisit the last page, I can find it in history.
I'm sure you're in the absolute minority. Most people want all apps, including the browser, to stay the way they were when they closed them, even after a reboot
I explained that there is a bookmark feature just for this sort of thing, but when you're used to doing something one way, change can be slow.
Re: A new CSS-based web attack will crash and restart your iPhone
#130Earlier quoted context omitted.
But why is Safari a privileged component?
Just to clarify the situation: fulafel’s comment (parent^4 of this comment) is incorrect. iOS does not automatically reboot when Safari or WebProcess crashes, and Safari is not generally treated as a ‘privileged component’ overall – to the contrary, last I checked it had a tighter sandbox than most apps. As people have noted, Safari does have special privileges to run a JIT, which is otherwise restricted. This is not…