Date: Tue, 16 Apr 2002 12:03:49 -0700 (PDT) From: Brian Feldman <green@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 9841 for review Message-ID: <200204161903.g3GJ3ng12484@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=9841 Change 9841 by green@green_laptop_2 on 2002/04/16 12:02:53 Reinsert reverted #defines. Affected files ... ... //depot/projects/trustedbsd/mac/sys/kern/kern_malloc.c#6 edit Differences ... ==== //depot/projects/trustedbsd/mac/sys/kern/kern_malloc.c#6 (text+ko) ==== @@ -114,6 +114,13 @@ {0, NULL}, }; +/* + * The WEIRD_ADDR is used as known text to copy into free objects so + * that modifications after frees can be detected. + */ +#define WEIRD_ADDR 0xdeadc0de +#define MAX_COPY 64 + u_int vm_kmem_size; static struct mtx malloc_mtx; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204161903.g3GJ3ng12484>