diff options
author | jhb <jhb@FreeBSD.org> | 2005-01-19 18:24:07 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2005-01-19 18:24:07 +0000 |
commit | b69ebd9a78883d430a4bcb25eb502360396fd518 (patch) | |
tree | 12cbf1c4c6a9263306acc0d9acafc23973aee6dc /include/ulimit.h | |
parent | 155c196d05b7b02898fd837e802732f1a28242ba (diff) | |
download | FreeBSD-src-b69ebd9a78883d430a4bcb25eb502360396fd518.zip FreeBSD-src-b69ebd9a78883d430a4bcb25eb502360396fd518.tar.gz |
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
Diffstat (limited to 'include/ulimit.h')
0 files changed, 0 insertions, 0 deletions