Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Dec 2006 18:01:33 GMT
From:      Todd Miller <millert@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 111035 for review
Message-ID:  <200612041801.kB4I1XfZ082325@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=111035

Change 111035 by millert@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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612041801.kB4I1XfZ082325>