]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Introduce support for Mandatory Access Control and extensible
authorrwatson <rwatson@FreeBSD.org>
Wed, 31 Jul 2002 01:51:34 +0000 (01:51 +0000)
committerrwatson <rwatson@FreeBSD.org>
Wed, 31 Jul 2002 01:51:34 +0000 (01:51 +0000)
commit40d00aeb4470ce0386d8e7919cdecd7dc4cc604a
tree1fdf40f8f9ac5ce0d5a076ef950fc076843e123e
parent2ecd24871619b8e31aef01d4f4b70a733bcd30d4
Introduce support for Mandatory Access Control and extensible
kernel access control.

Invoke additional MAC entry points when an mbuf packet header is
copied to another mbuf: release the old label if any, reinitialize
the new header, and ask the MAC framework to copy the header label
data.  Note that this requires a potential allocation operation,
but m_copy_pkthdr() is not permitted to fail, so we must block.
Since we now use interrupt threads, this is possible, but not
desirable.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
sys/kern/uipc_mbuf.c