]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Introduce support for Mandatory Access Control and extensible kernel
authorRobert Watson <rwatson@FreeBSD.org>
Tue, 30 Jul 2002 22:28:28 +0000 (22:28 +0000)
committerRobert Watson <rwatson@FreeBSD.org>
Tue, 30 Jul 2002 22:28:28 +0000 (22:28 +0000)
commitfae89e29b16a3029b4ca31cea12ddba540887dc5
treee8bc100c2e4703561dd32d3773a96f4d98034eb5
parent3b2e600940b97b6afe636dc9cc5a490de2b81325
Introduce support for Mandatory Access Control and extensible kernel
access control.

Label process credentials, permitting security information to be
maintained at the granularity of processes and cached credential
objects.  cr_label follows the semantics of other entries in struct
ucred: when a credential is exclusively referenced, it may be
modified.  Otherwise, it must be treated as immutable.  As with
other interesting entries in struct ucred, failing to use the
documented credential management APIs (such as crcopy, crdup, ...)
can result in data corruption or incorrect behavior.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
sys/sys/ucred.h