Re: SIGCHLD signal sometimes sent with si_pid==0 (Linux 5.6.5)

From: Eric W. Biederman
Date: Tue Apr 21 2020 - 11:02:49 EST


Christof Meerwald <cmeerw@xxxxxxxxxx> writes:

> Hi,
>
> this is probably related to commit
> 7a0cf094944e2540758b7f957eb6846d5126f535 (signal: Correct namespace
> fixups of si_pid and si_uid).
>
> With a 5.6.5 kernel I am seeing SIGCHLD signals that don't include a
> properly set si_pid field - this seems to happen for multi-threaded
> child processes.

Christof I want to say very good spotting and reporting of this issue.

Thank you.
Eric