Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Mar 2002 11:24:52 -0800 (PST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 8210 for review
Message-ID:  <200203221924.g2MJOqR73506@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203221924.g2MJOqR73506>