Date: Thu, 25 Jul 2002 03:21:37 -0700 (PDT) From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 14895 for review Message-ID: <200207251021.g6PALbPp018986@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=14895 Change 14895 by rwatson@rwatson_curry on 2002/07/25 03:21:36 Set Biba and MLS range flags in their set_range() functions; this may explain why interface labeling wasn't quite working right since the change to dynamic labels. Affected files ... .. //depot/projects/trustedbsd/mac/sys/security/mac_biba/mac_biba.c#70 edit .. //depot/projects/trustedbsd/mac/sys/security/mac_mls/mac_mls.c#58 edit Differences ... ==== //depot/projects/trustedbsd/mac/sys/security/mac_biba/mac_biba.c#70 (text+ko) ==== @@ -333,6 +333,7 @@ mac_biba->mb_rangelow.mbe_grade = gradelow; mac_biba->mb_rangehigh.mbe_type = typehigh; mac_biba->mb_rangehigh.mbe_grade = gradehigh; + mac_biba->mb_flags |= MAC_BIBA_FLAG_RANGE; } static void ==== //depot/projects/trustedbsd/mac/sys/security/mac_mls/mac_mls.c#58 (text+ko) ==== @@ -311,6 +311,7 @@ mac_mls->mm_rangelow.mme_level = levellow; mac_mls->mm_rangehigh.mme_type = typehigh; mac_mls->mm_rangehigh.mme_level = levelhigh; + mac_mls->mm_flags |= MAC_MLS_FLAG_RANGE; } static void To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207251021.g6PALbPp018986>