PERFORCE change 21069 for review

Brian Feldman green at freebsd.org
Fri Nov 15 15:00:47 GMT 2002


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

Change 21069 by green at green_laptop_2 on 2002/11/15 06:59:46

	Fix a mtx_lock() which should have been a mtx_unlock().
	(Noticed by mike halderman <mrh at mrh.org>.)

Affected files ...

.. //depot/projects/trustedbsd/mac/sys/security/mac_lomac/mac_lomac.c#39 edit

Differences ...

==== //depot/projects/trustedbsd/mac/sys/security/mac_lomac/mac_lomac.c#39 (text+ko) ====

@@ -521,7 +521,7 @@
 		 * This can only happen for a multi-threaded application.
 		 */
 		if (mac_lomac_dominate_single(objlabel, &subj->mac_lomac)) {
-			mtx_lock(&subj->mtx);
+			mtx_unlock(&subj->mtx);
 			return (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