Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Dec 2005 03:38:56 +0100
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        hackers@freebsd.org
Subject:   More user developers friendly memguard.
Message-ID:  <20051228023856.GA14871@garage.freebsd.pl>

next in thread | raw e-mail | index | archive | help

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

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.

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

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

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

iD8DBQFDsfrAForvXbEpPzQRAmCvAKC3oqkcpDh1Jn1yW16XlnthACsWsgCgmqRF
JKvyEJARR9GIBoy6RmdCuJg=
=8GSX
-----END PGP SIGNATURE-----

--tKW2IUtsqtDRztdT--



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