From owner-p4-projects Wed Oct 30 7:48: 1 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 2EA0237B404; Wed, 30 Oct 2002 07:48:00 -0800 (PST) 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 BB2DF37B401 for ; Wed, 30 Oct 2002 07:47:59 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6077243E6E for ; Wed, 30 Oct 2002 07:47:59 -0800 (PST) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id g9UFkimV055029 for ; Wed, 30 Oct 2002 07:46:44 -0800 (PST) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id g9UFkhRG055026 for perforce@freebsd.org; Wed, 30 Oct 2002 07:46:43 -0800 (PST) Date: Wed, 30 Oct 2002 07:46:43 -0800 (PST) Message-Id: <200210301546.g9UFkhRG055026@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson Subject: PERFORCE change 20418 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://perforce.freebsd.org/chv.cgi?CH=20418 Change 20418 by rwatson@rwatson_sproing on 2002/10/30 07:45:49 If we want to use vm_prot_t here, we need an explicit cast. Affected files ... .. //depot/projects/trustedbsd/mac/sys/security/mac_lomac/mac_lomac.c#27 edit Differences ... ==== //depot/projects/trustedbsd/mac/sys/security/mac_lomac/mac_lomac.c#27 (text+ko) ==== @@ -2112,7 +2112,7 @@ static void mac_lomac_check_vnode_mmap_downgrade(struct ucred *cred, struct vnode *vp, - struct label *label, vm_prot_t *prot) + struct label *label, int *prot) { struct mac_lomac *subj, *obj; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message