summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2006-07-23 12:01:14 +0000
committerrwatson <rwatson@FreeBSD.org>2006-07-23 12:01:14 +0000
commitc6cb3a55828b25caf156e4335b7848b73a3d119b (patch)
tree2e8d96c645965a865992e54516f33e3476f75575 /lib/libc
parente5969e57e6ebe4c8ef48d5ce25cbe3abfd15413e (diff)
downloadFreeBSD-src-c6cb3a55828b25caf156e4335b7848b73a3d119b.zip
FreeBSD-src-c6cb3a55828b25caf156e4335b7848b73a3d119b.tar.gz
Add two new unpcb flags, UNP_BINDING and UNP_CONNECTING, which will be
used to mark UNIX domain sockets as being in the process of binding or connecting. Use these to prevent simultaneous bind or connect operations by multiple threads or processes on the same socket at the same time, which closes race conditions present in the UNIX domain socket implementation since inception.
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud