Handle kernel module crashes

Florent Peterschmitt florent at peterschmitt.fr
Sun Jun 16 08:07:46 UTC 2013


On 14.06.2013 09:15, Julian Elischer wrote:
> On 6/10/13 10:18 PM, Florent Peterschmitt wrote:
>> Hello,
>>
>> It's not a problem but a question, and it's quite simple:
>>
>> How does FreeBSD handle crash from a single kernel module ?
>>
>> If the module internally crashes, does the entire system does too or
>> FreeBSD will continue to live ?
>>
>> Thanks
>>
> a Module is by definition a part of the kernel with no barriers to
> prevent it
> from damaging the kernel.
> In a monolithic kernel (such as FreeBSD, or Linux) the module is loaded
> into the
> protection domain of the kernel.
> 
> Much research was done in the 90s (and continues) with microkernels
> where some of the functionality of modules is instead given to
> "processes" which can be limited in the damage
> they can do.
> 
> Some work is ongoing to sandbox drivers (for example) but it always
> comes at an expense of
> performance.

Thank you (all) for answers :)

-- 
Florent Peterschmitt           | Please:
florent at peterschmitt.fr        |  * Avoid HTML/RTF in E-mail.
+33 (0)6 64 33 97 92           |  * Send PDF for documents.
http://florent.peterschmitt.fr | Thank you :)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 553 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20130617/19273804/attachment.sig>


More information about the freebsd-current mailing list