Konstantin Belousov 80a8b0f3bf Trapsignal() and postsig() call kern_sigprocmask() with both process
lock and curproc->p_sigacts->ps_mtx. Reschedule_signals may need to have
ps_mtx locked to decide and wakeup a thread, causing recursion on the
mutex.

Inform kern_sigprocmask() and reschedule_signals() about lock state
of the ps_mtx by new flag SIGPROCMASK_PS_LOCKED to avoid recursion.

Reported and tested by:	keramida
MFC after:	1 month
2009-10-30 10:10:39 +00:00
..
2009-10-27 11:01:15 +00:00
2009-05-18 12:03:43 +00:00
2009-05-27 16:36:54 +00:00
2008-09-22 10:37:02 +00:00
2009-05-29 14:25:51 +00:00
2009-08-23 09:55:06 +00:00
2009-10-27 11:01:15 +00:00
2009-10-27 11:01:15 +00:00
2009-05-26 09:19:21 +00:00
2009-10-29 10:03:08 +00:00