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
..
2004-04-30 19:50:51 +00:00
2004-11-20 02:29:50 +00:00
2004-12-24 16:21:46 +00:00