Date: Wed, 15 Dec 2004 22:58:12 +0100 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Jun Su <csujun@gmail.com> Cc: delphij@FreeBSD.org Subject: Re: Propose for Several Dump types Message-ID: <20041215215812.GM1130@darkness.comp.waw.pl> In-Reply-To: <cd4370cf04121323433255da9d@mail.gmail.com> References: <cd4370cf04121323433255da9d@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Tue, Dec 14, 2004 at 03:43:37PM +0800, Jun Su wrote: +> Kernel-Only Dump +> ============== +> We now can use /dev/kmem as the core file. If we can generate a dump file with +> the same information with it, then we can enable kernel-only dump with +> very limit code changes. +> +> 1. Change KVM library to support a new type of file that only contains +> kernel memory. +> 2. Change kernel side to write only kernel memory when dumping. +> 3. Change dumpon utility to do the right checking on the partiction size. I like the idea of Kernel-Only dump also because of security reasons - user may not want to send whole dump full of passwords, etc. It will be also cool if we can introduce malloc(9) flag (M_NODUMP), so we can safely allocate things like gbde keys, etc. and be sure it will not be part of a dump. -- Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBwLN0ForvXbEpPzQRAqQtAKCN4pDY3AN2wlQbHvALalpQKdnqXACeI7od EFBSodsUaEA6hz5jZMFPfII= =U8Gx -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041215215812.GM1130>
