diff options
author | rwatson <rwatson@FreeBSD.org> | 2005-04-16 18:33:13 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2005-04-16 18:33:13 +0000 |
commit | 76ab38319d170413a4377c4fb729cdebb1934243 (patch) | |
tree | c649e45d2e84743dc3268a704301d0a46f812fb5 /lib/libc | |
parent | 5851800a14b1af19b5d6ca241de8cc68deb7e95a (diff) | |
download | FreeBSD-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