Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Nov 2002 07:00:47 -0800 (PST)
From:      Brian Feldman <green@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 21069 for review
Message-ID:  <200211151500.gAFF0l5L091352@repoman.freebsd.org>

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

Change 21069 by green@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@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@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




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