Propose for Several Dump types

Pawel Jakub Dawidek pjd at FreeBSD.org
Wed Dec 15 13:58:14 PST 2004


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 at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20041215/88321b51/attachment.bin


More information about the freebsd-arch mailing list