Skip site navigation (1)Skip section navigation (2)
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

--kZxC0s2ORSstvtHP
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Dec 14, 2004 at 03:43:37PM +0800, Jun Su wrote:
+> Kernel-Only Dump
+> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
+> We now can use /dev/kmem as the core file. If we can generate a dump fil=
e with
+> the same information with it, then we can enable kernel-only dump with
+> very limit code changes.
+>=20
+> 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.

--=20
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

--kZxC0s2ORSstvtHP
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFBwLN0ForvXbEpPzQRAqQtAKCN4pDY3AN2wlQbHvALalpQKdnqXACeI7od
EFBSodsUaEA6hz5jZMFPfII=
=U8Gx
-----END PGP SIGNATURE-----

--kZxC0s2ORSstvtHP--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041215215812.GM1130>