summaryrefslogtreecommitdiffstats
path: root/sys/dev/ccd
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2003-01-03 04:35:04 +0000
committertjr <tjr@FreeBSD.org>2003-01-03 04:35:04 +0000
commitbfa661b0f806da6f4d8835a5c9ad0f889fb5bf3d (patch)
treea07393236b67054d43b67d9362cd022d46373a56 /sys/dev/ccd
parenta91193c322cb36f7490c039733dee7bd482dd4f2 (diff)
downloadFreeBSD-src-bfa661b0f806da6f4d8835a5c9ad0f889fb5bf3d.zip
FreeBSD-src-bfa661b0f806da6f4d8835a5c9ad0f889fb5bf3d.tar.gz
Protect pidlist with a mutex to avoid a race causing a duplicate free()
when the same pipe FILE is pclosed()'d in different threads, and to avoid corrupting the linked list when adding or removing items. The symptoms of the linked list getting corrupted were pclose() either not finding the pipe on the list, or the list becoming circular and pclose() looping infinitely.
Diffstat (limited to 'sys/dev/ccd')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud