From owner-p4-projects Thu Jul 25 3:21:42 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 098C537B401; Thu, 25 Jul 2002 03:21:38 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B334D37B400 for ; Thu, 25 Jul 2002 03:21:37 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E4EB43E67 for ; Thu, 25 Jul 2002 03:21:37 -0700 (PDT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from freefall.freebsd.org (perforce@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6PALbJU018994 for ; Thu, 25 Jul 2002 03:21:37 -0700 (PDT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6PALbPp018986 for perforce@freebsd.org; Thu, 25 Jul 2002 03:21:37 -0700 (PDT) Date: Thu, 25 Jul 2002 03:21:37 -0700 (PDT) Message-Id: <200207251021.g6PALbPp018986@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson Subject: PERFORCE change 14895 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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