PERFORCE change 18871 for review

Brian Feldman green at freebsd.org
Mon Oct 7 18:44:42 GMT 2002


http://people.freebsd.org/~peter/p4db/chv.cgi?CH=18871

Change 18871 by green at green_laptop_2 on 2002/10/07 11:43:41

	Fix mismerge (?).

Affected files ...

.. //depot/projects/trustedbsd/mac/sys/vm/vm_mmap.c#17 edit

Differences ...

==== //depot/projects/trustedbsd/mac/sys/vm/vm_mmap.c#17 (text+ko) ====

@@ -430,7 +430,7 @@
 	mtx_unlock(&Giant);
 	error = 0;
 #ifdef MAC
-	if (handle != NULL && MAP_SHARED) {
+	if (handle != NULL && (flags & MAP_SHARED) != 0) {
 		error = mac_check_vnode_mmap(td->td_ucred,
 		    (struct vnode *)handle, prot);
 	}
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