freebsd-skq/sys/security
Robert Watson 2555374c4f Introduce p_label, extensible security label storage for the MAC framework
in struct proc.  While the process label is actually stored in the
struct ucred pointed to by p_ucred, there is a need for transient
storage that may be used when asynchronous (deferred) updates need to
be performed on the "real" label for locking reasons.  Unlike other
label storage, this label has no locking semantics, relying on policies
to provide their own protection for the label contents, meaning that
a policy leaf mutex may be used, avoiding lock order issues.  This
permits policies that act based on historical process behavior (such
as audit policies, the MAC Framework port of LOMAC, etc) can update
process properties even when many existing locks are held without
violating the lock order.  No currently committed policies implement use
of this label storage.

Approved by:	re
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-11-20 15:41:25 +00:00
..
lomac Regularize the vop_stdlock'ing protocol across all the filesystems 2002-10-14 03:20:36 +00:00
mac Introduce p_label, extensible security label storage for the MAC framework 2002-11-20 15:41:25 +00:00
mac_biba Garbage collect mac_create_devfs_vnode() -- it hasn't been used since 2002-11-12 04:20:36 +00:00
mac_bsdextended Update MAC modules for changes in arguments for exec MAC policy 2002-11-08 18:04:36 +00:00
mac_ifoff License and wording updates: NAI has authorized the removal of clause 2002-11-04 01:53:12 +00:00
mac_mls Garbage collect mac_create_devfs_vnode() -- it hasn't been used since 2002-11-12 04:20:36 +00:00
mac_none Garbage collect mac_create_devfs_vnode() -- it hasn't been used since 2002-11-12 04:20:36 +00:00
mac_partition Update MAC modules for changes in arguments for exec MAC policy 2002-11-08 18:04:36 +00:00
mac_seeotheruids License and wording updates: NAI has authorized the removal of clause 2002-11-04 01:53:12 +00:00
mac_stub Garbage collect mac_create_devfs_vnode() -- it hasn't been used since 2002-11-12 04:20:36 +00:00
mac_test Garbage collect mac_create_devfs_vnode() -- it hasn't been used since 2002-11-12 04:20:36 +00:00