Re: Handle kernel module crashes

看板FB_current作者時間12年前 (2013/06/14 15:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串5/8 (看更多)
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. _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1HkiRpIM (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1HkiRpIM (FB_current)