summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2005-04-16 18:33:13 +0000
committerrwatson <rwatson@FreeBSD.org>2005-04-16 18:33:13 +0000
commit76ab38319d170413a4377c4fb729cdebb1934243 (patch)
treec649e45d2e84743dc3268a704301d0a46f812fb5 /lib/libc
parent5851800a14b1af19b5d6ca241de8cc68deb7e95a (diff)
downloadFreeBSD-src-76ab38319d170413a4377c4fb729cdebb1934243.zip
FreeBSD-src-76ab38319d170413a4377c4fb729cdebb1934243.tar.gz
In mac_get_fd(), remove unconditional acquisition of Giant around copying
of the socket label to thread-local storage, and replace it with conditional acquisition based on debug.mpsafenet. Acquire the socket lock around the copy operation. In mac_set_fd(), replace the unconditional acquisition of Giant with the conditional acquisition of Giant based on debug.mpsafenet. The socket lock is acquired in mac_socket_label_set() so doesn't have to be acquired here. Obtained from: TrustedBSD Project Sponsored by: SPAWAR, SPARTA
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud