On 16/09/20(Wed) 02:08, Theo de Raadt wrote:
> Something doesn't feel right.
> 
> db_kill_cmd finds a process, called p, then kills it.  In your new diff
> calling sigexit, take note of the comment at the top:
> 
>  * Force the current process to exit with the specified signal, dumping core
> 
> current process?  Doesn't look like it, it looks like it kills p.  But then
> it calls exit1?
> 
> Is this actually behaving the same for the db_kill_cmd() call?

Indeed, I messed up, in sigexit() the "struct proc *" argument means
`curproc'.

Reply via email to