From owner-p4-projects Fri Mar 22 11:24:57 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id BA64037B417; Fri, 22 Mar 2002 11:24:53 -0800 (PST) Delivered-To: perforce@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E601B37B400 for ; Fri, 22 Mar 2002 11:24:52 -0800 (PST) Received: (from perforce@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2MJOqR73506 for perforce@freebsd.org; Fri, 22 Mar 2002 11:24:52 -0800 (PST) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Fri, 22 Mar 2002 11:24:52 -0800 (PST) Message-Id: <200203221924.g2MJOqR73506@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson Subject: PERFORCE change 8210 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG http://people.freebsd.org/~peter/p4db/chv.cgi?CH=8210 Change 8210 by rwatson@rwatson_paprika on 2002/03/22 11:23:55 Fix inverted "private data" check, so that modules without label dependencies can be unloaded again. Affected files ... ... //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#118 edit Differences ... ==== //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#118 (text+ko) ==== @@ -270,7 +270,7 @@ /* * Don't allow unloading modules with private data. */ - if (mpc->mpc_field_off == -1) + if (mpc->mpc_field_off != -1) return (EBUSY); sx_xlock(&mac_policy_list_lock); if (mpc->mpc_ops->mpo_destroy != NULL) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message