On Wed, 9 May 2001, Garrett Wollman wrote:

> <<On Tue, 8 May 2001 23:31:51 -0400 (EDT), Robert Watson <[EMAIL PROTECTED]> said:
> > I followed everything here fine until you asserted that the debugger
> > shouldn't need any locks.
> When the debugger is running, everything else should have been
> forcibly halted.

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:

1) Disregard locks and risk corruption

2) Fail if a lock is held

Note that in either case (1) or case (2), the debugger may need special
code paths to implement services such as psignal() to indicate that
locking is either not needed, or that it should fail rather than

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