PERFORCE change 107254 for review
Todd Miller
millert at FreeBSD.org
Wed Oct 4 11:12:54 PDT 2006
http://perforce.freebsd.org/chv.cgi?CH=107254
Change 107254 by millert at millert_macbook on 2006/10/04 18:01:02
Fix logic thinko; == that should have been !=
Affected files ...
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/security/mac_base.c#16 edit
Differences ...
==== //depot/projects/trustedbsd/sedarwin8/darwin/xnu/security/mac_base.c#16 (text+ko) ====
@@ -1148,7 +1148,7 @@
element_list = &mac_static_label_element_list;
element_loop:
LIST_FOREACH(mle, element_list, mle_list) {
- if (strcmp(element_name, mle->mle_name) == 0)
+ if (strcmp(element_name, mle->mle_name) != 0)
continue;
LIST_FOREACH(mll, &mle->mle_listeners, mll_list) {
mpc = mac_policy_list.entries[mll->mll_handle].mpc;
More information about the trustedbsd-cvs
mailing list