PERFORCE change 40088 for review
Chris Vance
cvance at FreeBSD.org
Tue Oct 21 14:06:27 GMT 2003
http://perforce.freebsd.org/chv.cgi?CH=40088
Change 40088 by cvance at cvance_osx_laptop on 2003/10/21 07:06:25
Add MAC entrypoints to cdcopy and crdup
Affected files ...
.. //depot/projects/trustedbsd/sedarwin/apsl/xnu/bsd/kern/kern_prot.c#4 edit
Differences ...
==== //depot/projects/trustedbsd/sedarwin/apsl/xnu/bsd/kern/kern_prot.c#4 (text+ko) ====
@@ -705,6 +705,9 @@
*newcr = *cr;
crfree(cr);
newcr->cr_ref = 1;
+#ifdef MAC
+ mac_create_cred(cr, newcr);
+#endif
return (newcr);
}
@@ -724,6 +727,9 @@
newcr = crget();
*newcr = *cr;
newcr->cr_ref = 1;
+#ifdef MAC
+ mac_create_cred(cr, newcr);
+#endif
return (newcr);
}
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