summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_sbuf.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2002-07-31 01:42:19 +0000
committerrwatson <rwatson@FreeBSD.org>2002-07-31 01:42:19 +0000
commit2ecd24871619b8e31aef01d4f4b70a733bcd30d4 (patch)
treed944b2ef1a6823229e73e1dc3ff4249e728061a1 /sys/kern/subr_sbuf.c
parent4d5d66e7e4859fbec2805b2b079fd95d81b717a4 (diff)
downloadFreeBSD-src-2ecd24871619b8e31aef01d4f4b70a733bcd30d4.zip
FreeBSD-src-2ecd24871619b8e31aef01d4f4b70a733bcd30d4.tar.gz
Introduce support for Mandatory Access Control and extensible
kernel access control. Invoke the necessary MAC entry points to maintain labels on header mbufs. In particular, invoke entry points during the two mbuf header allocation cases, and the mbuf freeing case. Pass the "how" argument at allocation time to the MAC framework so that it can determine if it is permitted to block (as with policy modules), and permit the initialization entry point to fail if it needs to allocate memory but is not permitted to, failing the mbuf allocation. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
Diffstat (limited to 'sys/kern/subr_sbuf.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud