Move kernel signal SIGKNDELAY to system signal SIGSNDELAY and fix broken ptrace.

This commit is contained in:
Cristiano Giuffrida
2010-03-31 08:55:12 +00:00
parent 4d686f1616
commit d8b42a755d
5 changed files with 21 additions and 14 deletions

View File

@@ -401,7 +401,7 @@ PUBLIC void sig_delay_done(struct proc *rp)
rp->p_misc_flags &= ~MF_SIG_DELAY;
cause_sig(proc_nr(rp), SIGKNDELAY);
cause_sig(proc_nr(rp), SIGSNDELAY);
}
#if _MINIX_CHIP == _CHIP_INTEL

View File

@@ -19,7 +19,7 @@ PUBLIC int do_runctl(struct proc * caller, message * m_ptr)
/* Control a process's RTS_PROC_STOP flag. Used for process management.
* If the process is queued sending a message or stopped for system call
* tracing, and the RC_DELAY request flag is given, set MF_SIG_DELAY instead
* of RTS_PROC_STOP, and send a SIGKNDELAY signal later when the process is done
* of RTS_PROC_STOP, and send a SIGSNDELAY signal later when the process is done
* sending (ending the delay). Used by PM for safe signal delivery.
*/
int proc_nr, action, flags, delayed;