[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src

Module name:	src
Changes by:	niklas_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2005/06/17 16:33:34

Modified files:
	sys/kern       : kern_sig.c kern_synch.c sched_bsd.c 
	sys/sys        : mplock.h sched.h signalvar.h 

Log message:
A second approach at fixing the telnet localhost & problem
(but I tend to call it ssh localhost & now when telnetd is
history).  This is more localized patch, but leaves us with
a recursive lock for protecting scheduling and signal state.
Better care is taken to actually be symmetric over mi_switch.
Also, the dolock cruft in psignal can go with this solution.
Better test runs by more people for longer time has been
carried out compared to the c2k5 patch.

Long term the current mess with interruptible sleep, the
default action on stop signals and wakeup interactions need
to be revisited.  ok deraadt@, art@