Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2002 10:49:55 -0500 (EST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern kern_mac.c
Message-ID:  <Pine.NEB.3.96L.1021113104943.91561E-100000@fledge.watson.org>
In-Reply-To: <200211131547.gADFl9QA038342@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Sigh, left out:

	Approved by:	re



Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert@fledge.watson.org      Network Associates Laboratories

On Wed, 13 Nov 2002, Robert Watson wrote:

> rwatson     2002/11/13 07:47:09 PST
> 
>   Modified files:
>     sys/kern             kern_mac.c 
>   Log:
>   Introduce a condition variable to avoid returning EBUSY when
>   the MAC policy list is busy during a load or unload attempt.
>   We assert no locks held during the cv wait, meaning we should
>   be fairly deadlock-safe.  Because of the cv model and busy
>   count, it's possible for a cv waiter waiting for exclusive
>   access to the policy list to be starved by active and
>   long-lived access control/labeling events.  For now, we
>   accept that as a necessary tradeoff.
>   
>   Obtained from:  TrustedBSD Project
>   Sponsored by:   DARPA, Network Associates Laboratories
>   
>   Revision  Changes    Path
>   1.67      +52 -29    src/sys/kern/kern_mac.c
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1021113104943.91561E-100000>