PERFORCE change 20409 for review

Robert Watson rwatson at freebsd.org
Wed Oct 30 14:59:40 GMT 2002


http://perforce.freebsd.org/chv.cgi?CH=20409

Change 20409 by rwatson at 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 at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list