summaryrefslogtreecommitdiffstats
path: root/kerberos5/lib
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2004-06-24 03:34:46 +0000
committerrwatson <rwatson@FreeBSD.org>2004-06-24 03:34:46 +0000
commitbff787dba34a46b67b689f5a420297b4bd0c2b86 (patch)
tree2eb1a411d328157fb8f1cc1b5fff90a2e97b4dd7 /kerberos5/lib
parent4897b254d699831590315f8fb8cbfdde95075cd5 (diff)
downloadFreeBSD-src-bff787dba34a46b67b689f5a420297b4bd0c2b86.zip
FreeBSD-src-bff787dba34a46b67b689f5a420297b4bd0c2b86.tar.gz
Introduce a temporary mutex, mac_ifnet_mtx, to lock MAC labels on
network interfaces. This global mutex will protect all ifnet labels. Acquire the mutex across various MAC activities on interfaces, such as security checks, propagating interface labels to mbufs generated from the interface, retrieving and setting the interface label. Introduce mpo_copy_ifnet_label MAC policy entry point to copy the value of an interface label from one label to another. Use this to avoid performing a label externalize while holding mac_ifnet_mtx; copy the label to a temporary ifnet label and then externalize that. Implement mpo_copy_ifnet_label for various MAC policies that implement interface labeling using generic label copying routines. Obtained from: TrustedBSD Project Sponsored by: DARPA, McAfee Research
Diffstat (limited to 'kerberos5/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud