Re: Stop/unstop process & xsig

2021-04-24 Thread Martin Pieuchot
On 24/04/21(Sat) 12:49, Mark Kettenis wrote: > > Date: Sat, 24 Apr 2021 12:23:17 +0200 > > From: Martin Pieuchot > > > > On 20/03/21(Sat) 13:25, Martin Pieuchot wrote: > > > Diff below refactors routines to stop/unstop processes and save the signal > > > number which will/can be transmitted it

Re: Stop/unstop process & xsig

2021-04-24 Thread Mark Kettenis
> Date: Sat, 24 Apr 2021 12:23:17 +0200 > From: Martin Pieuchot > > On 20/03/21(Sat) 13:25, Martin Pieuchot wrote: > > Diff below refactors routines to stop/unstop processes and save the signal > > number which will/can be transmitted it in wait4(2). It does the following: > > > > - Move the

Re: Stop/unstop process & xsig

2021-04-24 Thread Martin Pieuchot
On 20/03/21(Sat) 13:25, Martin Pieuchot wrote: > Diff below refactors routines to stop/unstop processes and save the signal > number which will/can be transmitted it in wait4(2). It does the following: > > - Move the "hack" involving P_SINTR to avoid grabbing the SCHED_LOCK() > recursively

Stop/unstop process & xsig

2021-03-20 Thread Martin Pieuchot
Diff below refactors routines to stop/unstop processes and save the signal number which will/can be transmitted it in wait4(2). It does the following: - Move the "hack" involving P_SINTR to avoid grabbing the SCHED_LOCK() recursively inside proc_stop(). - Introduce proc_unstop(), the