Date: Sun, 21 Jul 2002 15:08:13 -0700 (PDT) From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 14637 for review Message-ID: <200207212208.g6LM8DMr054279@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207212208.g6LM8DMr054279>