]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
struct malloc_type has had a 'magic' field statically initialized to
authorRobert Watson <rwatson@FreeBSD.org>
Sun, 19 Apr 2009 12:41:37 +0000 (12:41 +0000)
committerRobert Watson <rwatson@FreeBSD.org>
Sun, 19 Apr 2009 12:41:37 +0000 (12:41 +0000)
commitbb1c7df80f24ca50cc78e206277dbca35b69d5cb
treee9fa72d568313ed26b10f9d838cb9923b24b884b
parenteb7bba19c56a0edf961c0b09b45e3e52b0f8da12
struct malloc_type has had a 'magic' field statically initialized to
M_MAGIC by MALLOC_DEFINE() for a long time; add assertions that
malloc_type's passed to malloc(), free(), etc have that magic set.

MFC after: 2 weeks
sys/kern/kern_malloc.c