PERFORCE change 18771 for review
Robert Watson
rwatson at freebsd.org
Sun Oct 6 01:09:25 GMT 2002
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=18771
Change 18771 by rwatson at rwatson_tislabs on 2002/10/05 18:08:40
Rather than do a redundant set of the requested protections
if we've disable fs or vm checks in the mmap downgrade,
actually just return without modifying the call-by-reference
argument.
Affected files ...
.. //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#300 edit
Differences ...
==== //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#300 (text+ko) ====
@@ -2330,7 +2330,7 @@
ASSERT_VOP_LOCKED(vp, "mac_check_vnode_mmap_downgrade");
if (!mac_enforce_fs || !mac_enforce_vm)
- *prot = result;
+ return;
MAC_PERFORM(check_vnode_mmap_downgrade, cred, vp, &vp->v_label,
&result);
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