From owner-p4-projects Thu Aug 22 13:50:53 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 1EC7037B401; Thu, 22 Aug 2002 13:50:50 -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 CBAC137B400 for ; Thu, 22 Aug 2002 13:50:49 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DFC143E9C for ; Thu, 22 Aug 2002 13:50:49 -0700 (PDT) (envelope-from green@freebsd.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 g7MKonJU056763 for ; Thu, 22 Aug 2002 13:50:49 -0700 (PDT) (envelope-from green@freebsd.org) Received: (from perforce@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7MKonc2056756 for perforce@freebsd.org; Thu, 22 Aug 2002 13:50:49 -0700 (PDT) Date: Thu, 22 Aug 2002 13:50:49 -0700 (PDT) Message-Id: <200208222050.g7MKonc2056756@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to green@freebsd.org using -f From: Brian Feldman Subject: PERFORCE change 16438 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=16438 Change 16438 by green@green_laptop_2 on 2002/08/22 13:50:16 For Lomac, don't disallow opening for read under any extra circumstances. Affected files ... .. //depot/projects/trustedbsd/mac/sys/security/mac_lomac/mac_lomac.c#2 edit Differences ... ==== //depot/projects/trustedbsd/mac/sys/security/mac_lomac/mac_lomac.c#2 (text+ko) ==== @@ -1916,11 +1916,6 @@ subj = SLOT(&cred->cr_label); obj = SLOT(vnodelabel); - /* XXX privilege override for admin? */ - if (acc_mode & (VREAD | VEXEC | VSTAT)) { - if (!mac_biba_dominate_single(obj, subj)) - return (EACCES); - } if (acc_mode & (VWRITE | VAPPEND | VADMIN)) { if (!mac_biba_dominate_single(subj, obj)) return (EACCES); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message