News for hackers. Stuff that matters.
Re:Bzr is dying; Emacs needs to move by comex on Thursday January 02, 2014 @02:55PM (#7001833)
xnu kexts are not isolated and probably never will be, although IOKit exposes some things to userspace.
Re:Bzr is dying; Emacs needs to move by Demiurge on Thursday January 02, 2014 @03:15PM (#7001955)
They're isolated enough that drivers can crash and just be reloaded, without a kernel panic.
Re:Bzr is dying; Emacs needs to move by comex on Thursday January 02, 2014 @03:21PM (#7002004)
No, they are not. A crash in a kext causes a kernel panic.
Re:Bzr is dying; Emacs needs to move by Demiurge on Thursday January 02, 2014 @03:51PM (#7002183)
You are right. An actual crash in kext causes kernel panic. I think I read that this is was possible, but I can't find how, and when, right now. The common thing that I'm thinking of is just voluntary error (exception) handling in kexts and reloading of kext on their own. There is some isolation and benefit to it.

Edit: ok, I just figured out my source of confusion. IOKit allows userspace drivers, which can crash without resulting in panic.

Re:Bzr is dying; Emacs needs to move by valleyer on Friday January 03, 2014 @02:59AM (#7004590)
IOKit allows communication between kexts and userland. You could call that "userland drivers", but it's not like you can write only userland code to implement a driver.