From owner-p4-projects Sun Jul 21 15: 8:22 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id E44B737B401; Sun, 21 Jul 2002 15:08:14 -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 8672537B400 for ; Sun, 21 Jul 2002 15:08:14 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D4AC143E6E for ; Sun, 21 Jul 2002 15:08:13 -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 g6LM8DJU054282 for ; Sun, 21 Jul 2002 15:08:13 -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 g6LM8DMr054279 for perforce@freebsd.org; Sun, 21 Jul 2002 15:08:13 -0700 (PDT) Date: Sun, 21 Jul 2002 15:08:13 -0700 (PDT) Message-Id: <200207212208.g6LM8DMr054279@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 14637 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=14637 Change 14637 by rwatson@rwatson_curry on 2002/07/21 15:08:12 Although none of the policies currently use the componentname passed to lookup(), teach them about it anyway. Affected files ... .. //depot/projects/trustedbsd/mac/sys/security/mac_biba/mac_biba.c#59 edit .. //depot/projects/trustedbsd/mac/sys/security/mac_bsdextended/mac_bsdextended.c#38 edit .. //depot/projects/trustedbsd/mac/sys/security/mac_mls/mac_mls.c#47 edit .. //depot/projects/trustedbsd/mac/sys/security/mac_none/mac_none.c#40 edit .. //depot/projects/trustedbsd/mac/sys/security/mac_te/mac_te.c#42 edit .. //depot/projects/trustedbsd/mac/sys/security/mac_test/mac_test.c#10 edit Differences ... ==== //depot/projects/trustedbsd/mac/sys/security/mac_biba/mac_biba.c#59 (text+ko) ==== @@ -1470,7 +1470,7 @@ static int mac_biba_cred_check_lookup_vnode(struct ucred *cred, struct vnode *dvp, - struct label *dlabel) + struct label *dlabel, struct componentname *cnp) { struct mac_biba *subj, *obj; ==== //depot/projects/trustedbsd/mac/sys/security/mac_bsdextended/mac_bsdextended.c#38 (text+ko) ==== @@ -443,7 +443,7 @@ static int mac_bsdextended_cred_check_lookup_vnode(struct ucred *cred, struct vnode *dvp, - struct label *dlabel) + struct label *dlabel, struct componentname *cnp) { struct vattr vap; int error; ==== //depot/projects/trustedbsd/mac/sys/security/mac_mls/mac_mls.c#47 (text+ko) ==== @@ -1413,7 +1413,7 @@ static int mac_mls_cred_check_lookup_vnode(struct ucred *cred, struct vnode *dvp, - struct label *dlabel) + struct label *dlabel, struct componentname *cnp) { struct mac_mls *subj, *obj; ==== //depot/projects/trustedbsd/mac/sys/security/mac_none/mac_none.c#40 (text+ko) ==== @@ -677,7 +677,7 @@ static int mac_none_cred_check_lookup_vnode(struct ucred *cred, struct vnode *dvp, - struct label *dlabel) + struct label *dlabel, struct componentname *cnp) { return (0); ==== //depot/projects/trustedbsd/mac/sys/security/mac_te/mac_te.c#42 (text+ko) ==== @@ -1168,7 +1168,7 @@ static int mac_te_cred_check_lookup_vnode(struct ucred *cred, struct vnode *dvp, - struct label *dlabel) + struct label *dlabel, struct componentname *cnp) { return (mac_te_check(SLOT(&cred->cr_label), SLOT(dlabel), ==== //depot/projects/trustedbsd/mac/sys/security/mac_test/mac_test.c#10 (text+ko) ==== @@ -870,7 +870,7 @@ static int mac_test_cred_check_lookup_vnode(struct ucred *cred, struct vnode *dvp, - struct label *dlabel) + struct label *dlabel, struct componentname *cnp) { return (0); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message