More user developers friendly memguard.

Pawel Jakub Dawidek pjd at FreeBSD.org
Tue Dec 27 18:39:08 PST 2005


Here is the patch:

	http://people.freebsd.org/~pjd/patches/kern_malloc.c.3.patch

It allows to configure memory type to debug without recompilling the
kernel. It also allows to debug kernel modules with memguard.

The rules:
1. If memory type is compiled into the kernel vm.memguard_desc should be
   configured in /boot/loader.conf.
2. If memory type is in kernel module, vm.memguard_desc sysctl should be
   configured before loading the module.

-- 
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-hackers/attachments/20051228/7967f20b/attachment.bin


More information about the freebsd-hackers mailing list