Date: Wed, 30 Oct 2002 06:59:40 -0800 (PST) From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 20409 for review Message-ID: <200210301459.g9UExeJV050329@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=20409 Change 20409 by rwatson@rwatson_sproing on 2002/10/30 06:59:34 The wonders of type checking: don't mix up structs mac, vnode, and label in transition entry points. Affected files ... .. //depot/projects/trustedbsd/mac/sys/security/mac_biba/mac_biba.c#169 edit Differences ... ==== //depot/projects/trustedbsd/mac/sys/security/mac_biba/mac_biba.c#169 (text+ko) ==== @@ -1360,7 +1360,7 @@ static void mac_biba_execve_transition(struct ucred *old, struct ucred *new, - struct vnode *vp, struct mac *vnodelabel, struct mac *shellvnodelabel, + struct vnode *vp, struct mac *vnodelabel, struct label *shellvnodelabel, struct image_params *imgp) { struct mac_biba *source, *dest; @@ -1374,7 +1374,7 @@ static int mac_biba_execve_will_transition(struct ucred *old, struct vnode *vp, - struct mac *vnodelabel, struct vnode *shellvnodelabel, + struct label *vnodelabel, struct label *shellvnodelabel, struct image_params *imgp) { 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?200210301459.g9UExeJV050329>