PERFORCE change 40679 for review
Andrew Reisse
areisse at FreeBSD.org
Tue Oct 28 16:56:57 GMT 2003
http://perforce.freebsd.org/chv.cgi?CH=40679
Change 40679 by areisse at areisse_ibook on 2003/10/28 08:56:28
you don't need to free nameidata on darwin
Affected files ...
.. //depot/projects/trustedbsd/sedarwin/apsl/xnu/bsd/kern/kern_mac.c#22 edit
Differences ...
==== //depot/projects/trustedbsd/sedarwin/apsl/xnu/bsd/kern/kern_mac.c#22 (text+ko) ====
@@ -1793,7 +1793,7 @@
int error;
static int count = 0;
- if (++count < 100)
+ if (++count < 10)
printf("MAC:mac_check_vnode_lookup\n");
ASSERT_VOP_LOCKED(dvp, "mac_check_vnode_lookup");
@@ -3779,8 +3779,6 @@
mac.m_buflen, M_WAITOK);
vput (nd.ni_vp);
- FREE_ZONE(nd.ni_cnd.cn_pnbuf, nd.ni_cnd.cn_pnlen, M_NAMEI);
-
mac_destroy_vnode_label(&intlabel);
if (error == 0)
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