From owner-p4-projects Wed Oct 30 7:42:53 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 9395B37B404; Wed, 30 Oct 2002 07:42:51 -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 2BA7737B401 for ; Wed, 30 Oct 2002 07:42:51 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC22843E4A for ; Wed, 30 Oct 2002 07:42:50 -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 g9UFfZmV054677 for ; Wed, 30 Oct 2002 07:41:35 -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 g9UFfZFE054674 for perforce@freebsd.org; Wed, 30 Oct 2002 07:41:35 -0800 (PST) Date: Wed, 30 Oct 2002 07:41:35 -0800 (PST) Message-Id: <200210301541.g9UFfZFE054674@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 20415 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=20415 Change 20415 by rwatson@rwatson_sproing on 2002/10/30 07:41:11 These functions accept processes, not credentials. Really they should accept neither. Affected files ... .. //depot/projects/trustedbsd/mac/sys/security/mac_lomac/mac_lomac.c#24 edit Differences ... ==== //depot/projects/trustedbsd/mac/sys/security/mac_lomac/mac_lomac.c#24 (text+ko) ==== @@ -565,7 +565,7 @@ } static void -mac_lomac_init_proc_label(struct ucred *ucred, struct label *label) +mac_lomac_init_proc_label(struct proc *p, struct label *label) { PSLOT(label) = malloc(sizeof(struct mac_lomac_proc), M_MACLOMAC, @@ -582,7 +582,7 @@ } static void -mac_lomac_destroy_proc_label(struct ucred *ucred, struct label *label) +mac_lomac_destroy_proc_label(struct proc *p, struct label *label) { mtx_destroy(&PSLOT(label)->mtx); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message