From owner-freebsd-current@FreeBSD.ORG Sun Jun 16 08:07:46 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 1C3BE1EE for ; Sun, 16 Jun 2013 08:07:46 +0000 (UTC) (envelope-from florent@peterschmitt.fr) Received: from peterschmitt.fr (peterschmitt.fr [5.135.177.31]) by mx1.freebsd.org (Postfix) with ESMTP id D87BB1E6E for ; Sun, 16 Jun 2013 08:07:45 +0000 (UTC) Received: from [192.168.0.23] (4ab54-4-88-163-248-31.fbx.proxad.net [88.163.248.31]) by peterschmitt.fr (Postfix) with ESMTPSA id 5FF5BA32D for ; Sun, 16 Jun 2013 10:07:39 +0200 (CEST) Message-ID: <51BEC3D6.4080306@peterschmitt.fr> Date: Mon, 17 Jun 2013 10:07:50 +0200 From: Florent Peterschmitt User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130610 Thunderbird/17.0.6 MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Re: Handle kernel module crashes References: <51B5E040.2030709@peterschmitt.fr> <51BAC30F.1090208@freebsd.org> In-Reply-To: <51BAC30F.1090208@freebsd.org> X-Enigmail-Version: 1.5.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="----enig2JOBRBMAHEIJTCDWLQAFA" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jun 2013 08:07:46 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2JOBRBMAHEIJTCDWLQAFA Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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. >=20 > 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. >=20 > Some work is ongoing to sandbox drivers (for example) but it always > comes at an expense of > performance. Thank you (all) for answers :) --=20 Florent Peterschmitt | Please: florent@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 :) ------enig2JOBRBMAHEIJTCDWLQAFA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJRvsPeAAoJEMtO2Sol0IIm7r0H/0K/79S+ilR3cYq8pyxR5url jaknTqfzzhrCqeUd6qeKYi213HEHFepnXTcZoS9y5+GU7TeKkqmkrbApzo5AQRF3 li6EL/EdfN1ENYrGWKYFyqqEXxBlSqLzb3Fjjo08x3oDsc8wkC8jm7hI7Y2u1LP2 tczeNU0/Fa1TmDVtvHZUGtv6+W0gLQQYIEazFvjCHS/bd0x78BSxJo1PNPmZdPUs dc7E9Bmwt4jOg7Cxm7aK1mkYZV97NLuAqUT0mWLZGLQ+NLfVryySR5oc7V2cpjsg 8O1KOnauemovpgrsrUd34G536tRijR2yB2EGiP7LTwu2cpePIfw/1UbNucWkn0U= =eWDP -----END PGP SIGNATURE----- ------enig2JOBRBMAHEIJTCDWLQAFA--