On Mon, 14 May 2001, Garrett Wollman wrote:

> <<On Thu, 10 May 2001 12:40:42 -0400 (EDT), Robert Watson <[EMAIL PROTECTED]> said:
> > The process and signal-related structures may be inconsistent if the
> > debugger disregards existing locks held over those structures.  It does
> > not matter if code is currently still executing, it matters that
> > preemption can occur.  The choices appear to be:
> Preemption should never occur while the debugger is running.  If those
> structures are in an inconsistent state, it *should* be visible to the
> debugger. 

Yes, exactly.  The debugger my preempt, and the structures may be in an
inconsistent state.  Therefor, caution must be used when making use of
functions that assume a consistent state, or attempt to make use of locks
which may already be held but cannot be released. 

Robert N M Watson             FreeBSD Core Team, TrustedBSD Project
[EMAIL PROTECTED]      NAI Labs, Safeport Network Services

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to