Date: Wed, 23 Feb 2005 11:47:32 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 71653 for review Message-ID: <200502231147.j1NBlWxu041783@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=71653 Change 71653 by rwatson@rwatson_paprika on 2005/02/23 11:47:16 Don't unlock the mac_bsdextended_mtx twice when replacing a rule. Affected files ... .. //depot/projects/trustedbsd/mac/sys/security/mac_bsdextended/mac_bsdextended.c#82 edit Differences ... ==== //depot/projects/trustedbsd/mac/sys/security/mac_bsdextended/mac_bsdextended.c#82 (text+ko) ==== @@ -185,13 +185,13 @@ if (index + 1 > rule_slots) rule_slots = index + 1; rule_count++; + mtx_unlock(&mac_bsdextended_mtx); } else { /* printf("replacement\n"); */ *rules[index] = temprule; mtx_unlock(&mac_bsdextended_mtx); FREE(ruleptr, M_MACBSDEXTENDED); } - mtx_unlock(&mac_bsdextended_mtx); return (0); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502231147.j1NBlWxu041783>