John Baldwin 7d9ace1d46 Add a small API to manage the MD user trap structures. Specifically, we
now use a pool mutex to manage the reference counts.  This fixes races
resulting in use-after-free.

Tested by:	kris, David Cornejo dave at dogwood dot com
Reported by:	bmilekic's MemGuard
MFC after:	1 week
2005-01-19 18:24:07 +00:00
..
2005-01-19 16:22:20 +00:00
2005-01-19 08:24:53 +00:00
2005-01-19 17:03:35 +00:00
2005-01-19 09:07:56 +00:00
2005-01-18 11:06:34 +00:00
2005-01-17 08:36:46 +00:00
2005-01-10 09:56:47 +00:00