mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-01 08:27:59 +00:00
279d722604
Pre-rfork code assumed inherent locking of a process's file descriptor array. However, with the advent of rfork() the file descriptor table could be shared between processes. This patch closes over a dozen serious race conditions related to one thread manipulating the table (e.g. closing or dup()ing a descriptor) while another is blocked in an open(), close(), fcntl(), read(), write(), etc... PR: kern/11629 Discussed with: Alexander Viro <viro@math.psu.edu> |
||
---|---|---|
.. | ||
svr4_signal.c |