summaryrefslogtreecommitdiffstats
path: root/usr.sbin/crunch
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-06-20 23:10:06 +0000
committerjhb <jhb@FreeBSD.org>2001-06-20 23:10:06 +0000
commit092b28a542eedc59fe825595f96f582c731b0f41 (patch)
tree0902e9ff433c027e741f2694b1a4a7af6faac89a /usr.sbin/crunch
parentc9fd5371494f6f8bf20195642f6a17f876c32708 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud