PERFORCE change 111035 for review
    Todd Miller 
    millert at FreeBSD.org
       
    Mon Dec  4 10:01:36 PST 2006
    
    
  
http://perforce.freebsd.org/chv.cgi?CH=111035
Change 111035 by millert at millert_g5tower on 2006/12/04 18:01:12
	Use the correct vnode in mac_vnode_check_open().
Affected files ...
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/vfs/vfs_syscalls.c#17 edit
Differences ...
==== //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/vfs/vfs_syscalls.c#17 (text+ko) ====
@@ -519,7 +519,7 @@
 			ronly = (mp->mnt_flag & MNT_RDONLY) != 0;
 #ifdef MAC
 			error = mac_vnode_check_open(
-			    vfs_context_ucred(&context), vp,
+			    vfs_context_ucred(&context), devvp,
 			    ronly ? FREAD : FREAD|FWRITE);
 			if (error)
 				goto out3;
    
    
More information about the p4-projects
mailing list