PERFORCE change 105355 for review

Todd Miller millert at FreeBSD.org
Wed Aug 30 20:39:03 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=105355

Change 105355 by millert at millert_g4tower on 2006/08/30 20:34:51

	Remove bogus comment (was true of FreeBSD) and fix a style nit.

Affected files ...

.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/security/mac_base.c#4 edit

Differences ...

==== //depot/projects/trustedbsd/sedarwin8/darwin/xnu/security/mac_base.c#4 (text+ko) ====

@@ -1068,15 +1068,11 @@
 	}
 
 	newcred = kauth_cred_setlabel(oldcred, intlabel);
-	mac_update_task_from_cred (newcred, p->task);
+	mac_update_task_from_cred(newcred, p->task);
 	PROC_LOCK(p);
 	p->p_ucred = newcred;
 	PROC_UNLOCK(p);
 
-	/*
-	 * Grab additional reference for use while revoking mmaps, prior
-	 * to releasing the proc lock and sharing the cred.
-	 */
 	kauth_cred_rele(oldcred);
 
 #if 0


More information about the trustedbsd-cvs mailing list