From owner-p4-projects@FreeBSD.ORG Wed Oct 4 18:01:10 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 0821B16A412; Wed, 4 Oct 2006 18:01:10 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B578016A403 for ; Wed, 4 Oct 2006 18:01:09 +0000 (UTC) (envelope-from millert@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F1F343D46 for ; Wed, 4 Oct 2006 18:01:09 +0000 (GMT) (envelope-from millert@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k94I19re026518 for ; Wed, 4 Oct 2006 18:01:09 GMT (envelope-from millert@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k94I19Iv026515 for perforce@freebsd.org; Wed, 4 Oct 2006 18:01:09 GMT (envelope-from millert@freebsd.org) Date: Wed, 4 Oct 2006 18:01:09 GMT Message-Id: <200610041801.k94I19Iv026515@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to millert@freebsd.org using -f From: Todd Miller To: Perforce Change Reviews Cc: Subject: PERFORCE change 107254 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Oct 2006 18:01:10 -0000 http://perforce.freebsd.org/chv.cgi?CH=107254 Change 107254 by millert@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;