]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Introduce mac_biba_copy() and mac_mls_copy(), which conditionally
authorRobert Watson <rwatson@FreeBSD.org>
Mon, 21 Oct 2002 20:55:39 +0000 (20:55 +0000)
committerRobert Watson <rwatson@FreeBSD.org>
Mon, 21 Oct 2002 20:55:39 +0000 (20:55 +0000)
commit36cf29fd8db50bff9b54c912d2aa8a89c0ea4d20
tree0c95424f8b2ac7462b671b2d9829949f0b825b90
parent01a4d0197df54f8e1f50a1f42095ccdedd5cfc4c
Introduce mac_biba_copy() and mac_mls_copy(), which conditionally
copy elements of one Biba or MLS label to another based on the flags
on the source label element.  Use this instead of
mac_{biba,mls}_{single,range}() to simplify the existing code, as
well as support partial label updates (we don't update if none is
requested).

Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
sys/security/mac_biba/mac_biba.c
sys/security/mac_mls/mac_mls.c