From owner-freebsd-arch@FreeBSD.ORG Wed Jan 12 15:23:16 2005 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D0D616A4CE for ; Wed, 12 Jan 2005 15:23:16 +0000 (GMT) Received: from mail.freebsd.org.cn (dns3.freebsd.org.cn [61.129.66.75]) by mx1.FreeBSD.org (Postfix) with SMTP id 24BEE43D1D for ; Wed, 12 Jan 2005 15:23:13 +0000 (GMT) (envelope-from delphij@frontfree.net) Received: (qmail 9389 invoked by uid 0); 12 Jan 2005 15:15:28 -0000 Received: from unknown (HELO beastie.frontfree.net) (219.239.99.7) by mail.freebsd.org.cn with SMTP; 12 Jan 2005 15:15:28 -0000 Received: from localhost (localhost.frontfree.net [127.0.0.1]) by beastie.frontfree.net (Postfix) with ESMTP id D24381312B3; Wed, 12 Jan 2005 23:22:53 +0800 (CST) Received: from beastie.frontfree.net ([127.0.0.1]) by localhost (beastie.frontfree.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 06734-07; Wed, 12 Jan 2005 23:22:41 +0800 (CST) Received: by beastie.frontfree.net (Postfix, from userid 1001) id E33DD13136C; Wed, 12 Jan 2005 23:22:40 +0800 (CST) Date: Wed, 12 Jan 2005 23:22:40 +0800 From: Xin LI To: Pawel Jakub Dawidek Message-ID: <20050112152240.GA6710@frontfree.net> References: <20050112131950.GN795@darkness.comp.waw.pl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zYM0uCDKw75PZbzx" Content-Disposition: inline In-Reply-To: <20050112131950.GN795@darkness.comp.waw.pl> User-Agent: Mutt/1.4.2.1i X-GPG-key-ID/Fingerprint: 0xCAEEB8C0 / 43B8 B703 B8DD 0231 B333 DC28 39FB 93A0 CAEE B8C0 X-GPG-Public-Key: http://www.delphij.net/delphij.asc X-Operating-System: FreeBSD beastie.frontfree.net 5.3-RELEASE-p2 FreeBSD 5.3-RELEASE-p2 #15: Wed Dec 15 10:43:16 CST 2004 delphij@beastie.frontfree.net:/usr/obj/usr/src/sys/BEASTIE i386 X-URL: http://www.delphij.net X-By: delphij@beastie.frontfree.net X-Location: Beijing, China X-Virus-Scanned: by amavisd-new at frontfree.net cc: arch@freebsd.org Subject: Re: "Kernel" dumps. X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jan 2005 15:23:16 -0000 --zYM0uCDKw75PZbzx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 12, 2005 at 02:19:50PM +0100, Pawel Jakub Dawidek wrote: > Hi. >=20 > We need improve our dumps, really. >=20 > First of all they are too big, because we dump whole memory. > Second of all, they are not safe for our users. >=20 > We should implement two things: >=20 > - dumping only kernel pages (dump is smaller and without sensitive data > from userland processes); > - add a malloc(9) flag M_NOUMP which will prevent from dumping > pages with sensitive data (e.g. GBDE keys). >=20 > Any VM-skilled volunteers? Pretty please... A friend of mine has recently implemented a ``mini-dump'', which is primarly a conceptional implementation that I need to do some clean-ups on my spare time. I think in order to have a successful ``kernel dump'' we need to keep least dependency on VM structures (and allow users to switch to a full dump when need). Cheers, --=20 Xin LI http://www.delphij.net/ See complete headers for GPG key and other information. --zYM0uCDKw75PZbzx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFB5UDA/cVsHxFZiIoRAuS8AJ9CyZoaC5N4OZIJtd91epfixdTFFwCfbBI3 oA1VuSbcumSiH8RpYmT6350= =bnfH -----END PGP SIGNATURE----- --zYM0uCDKw75PZbzx--