Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Aug 2006 20:34:52 GMT
From:      Todd Miller <millert@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 105355 for review
Message-ID:  <200608302034.k7UKYqEp023256@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=105355

Change 105355 by millert@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608302034.k7UKYqEp023256>