version 1.248, 2007/02/21 23:48:14 |
version 1.249, 2007/02/22 06:34:44 |
Line 1625 issignal(struct lwp *l) |
|
Line 1625 issignal(struct lwp *l) |
|
* we awaken, check for a signal from the debugger. |
* we awaken, check for a signal from the debugger. |
*/ |
*/ |
if (p->p_stat == SSTOP || (p->p_sflag & PS_STOPPING) != 0) { |
if (p->p_stat == SSTOP || (p->p_sflag & PS_STOPPING) != 0) { |
sigswitch(TRUE, PS_NOCLDSTOP, 0); |
sigswitch(true, PS_NOCLDSTOP, 0); |
signo = sigchecktrace(&sp); |
signo = sigchecktrace(&sp); |
} else |
} else |
signo = 0; |
signo = 0; |
Line 1734 issignal(struct lwp *l) |
|
Line 1734 issignal(struct lwp *l) |
|
(void)sigget(sp, NULL, signo, NULL); |
(void)sigget(sp, NULL, signo, NULL); |
p->p_xstat = signo; |
p->p_xstat = signo; |
signo = 0; |
signo = 0; |
sigswitch(TRUE, PS_NOCLDSTOP, p->p_xstat); |
sigswitch(true, PS_NOCLDSTOP, p->p_xstat); |
} else if (prop & SA_IGNORE) { |
} else if (prop & SA_IGNORE) { |
/* |
/* |
* Except for SIGCONT, shouldn't get here. |
* Except for SIGCONT, shouldn't get here. |
Line 1976 sigexit(struct lwp *l, int signo) |
|
Line 1976 sigexit(struct lwp *l, int signo) |
|
} |
} |
|
|
#ifdef PAX_SEGVGUARD |
#ifdef PAX_SEGVGUARD |
pax_segvguard(l, p->p_textvp, p->p_comm, TRUE); |
pax_segvguard(l, p->p_textvp, p->p_comm, true); |
#endif /* PAX_SEGVGUARD */ |
#endif /* PAX_SEGVGUARD */ |
} |
} |
|
|
Line 2080 proc_stop_callout(void *cookie) |
|
Line 2080 proc_stop_callout(void *cookie) |
|
(void)cookie; |
(void)cookie; |
|
|
do { |
do { |
restart = FALSE; |
restart = false; |
more = FALSE; |
more = false; |
|
|
mutex_enter(&proclist_mutex); |
mutex_enter(&proclist_mutex); |
PROCLIST_FOREACH(p, &allproc) { |
PROCLIST_FOREACH(p, &allproc) { |
Line 2120 proc_stop_callout(void *cookie) |
|
Line 2120 proc_stop_callout(void *cookie) |
|
* Arrange to restart and check |
* Arrange to restart and check |
* all processes again. |
* all processes again. |
*/ |
*/ |
restart = TRUE; |
restart = true; |
child_psignal(p, PS_NOCLDSTOP); |
child_psignal(p, PS_NOCLDSTOP); |
cv_broadcast(&p->p_pptr->p_waitcv); |
cv_broadcast(&p->p_pptr->p_waitcv); |
} |
} |
} else |
} else |
more = TRUE; |
more = true; |
|
|
mutex_exit(&p->p_smutex); |
mutex_exit(&p->p_smutex); |
if (restart) |
if (restart) |