diff options
author | jhb <jhb@FreeBSD.org> | 2001-06-20 23:10:06 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-06-20 23:10:06 +0000 |
commit | 092b28a542eedc59fe825595f96f582c731b0f41 (patch) | |
tree | 0902e9ff433c027e741f2694b1a4a7af6faac89a /usr.sbin/crunch | |
parent | c9fd5371494f6f8bf20195642f6a17f876c32708 (diff) | |
download | FreeBSD-src-092b28a542eedc59fe825595f96f582c731b0f41.zip FreeBSD-src-092b28a542eedc59fe825595f96f582c731b0f41.tar.gz |
Fix some lock order reversals where we called free() while holding a proc
lock. We now use temporary variables to save the process argument pointer
and just update the pointer while holding the lock. We then perform the
free on the cached pointer after releasing the lock.
Diffstat (limited to 'usr.sbin/crunch')
0 files changed, 0 insertions, 0 deletions