NetBSD/common
xtraeme 771a05b730 Do not acquire the rwlock recursively in prop_{array,dictionary}_iterator_reset()
when prop_{array,dictionary}_copyout_ioctl() is called.

Introduce _PROP_RWLOCK_OWNED() which is a KASSERT(rw_lock_held(lock))
and use it in those two functions, also acquire the rwlock in other
places where it is required now.

This fixes a LOCKDEBUG panic "locking against myself", as reported by
Geoff C. Wing in current-users@.
2008-05-06 13:52:51 +00:00
..
dist/zlib Disable a sanity check output buffer != NULL in _STANDALONE case. 2007-12-22 00:52:03 +00:00
include Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
lib Do not acquire the rwlock recursively in prop_{array,dictionary}_iterator_reset() 2008-05-06 13:52:51 +00:00