From owner-p4-projects@FreeBSD.ORG Wed Feb 23 11:56:45 2005 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 4C48216A4D0; Wed, 23 Feb 2005 11:56:45 +0000 (GMT) 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 2781116A4CE for ; Wed, 23 Feb 2005 11:56:45 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0FF3543D1F for ; Wed, 23 Feb 2005 11:56:45 +0000 (GMT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j1NBui13042497 for ; Wed, 23 Feb 2005 11:56:44 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j1NBuiWN042494 for perforce@freebsd.org; Wed, 23 Feb 2005 11:56:44 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Wed, 23 Feb 2005 11:56:44 GMT Message-Id: <200502231156.j1NBuiWN042494@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson To: Perforce Change Reviews Subject: PERFORCE change 71655 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2005 11:56:45 -0000 http://perforce.freebsd.org/chv.cgi?CH=71655 Change 71655 by rwatson@rwatson_paprika on 2005/02/23 11:56:38 sysctl allows the old value to be requested and the new value to be set in a single call, so don't return before doing both. Affected files ... .. //depot/projects/trustedbsd/mac/sys/security/mac_bsdextended/mac_bsdextended.c#84 edit Differences ... ==== //depot/projects/trustedbsd/mac/sys/security/mac_bsdextended/mac_bsdextended.c#84 (text+ko) ==== @@ -192,7 +192,6 @@ mtx_unlock(&mac_bsdextended_mtx); FREE(ruleptr, M_MACBSDEXTENDED); } - return (0); } if (req->oldptr) {