tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: sysctl_doeproc() race



On Sun, Mar 11, 2018 at 12:57:10AM +0100, Kamil Rytarowski wrote:
> We keep relocking proc_lock, and a zombie might be consumed by its
> parent and later its body reused for a new process. We will end up with
> a return result with two processes with the same pid.

I don't get this part - how would we end up with the new process using
the same pid?

Martin


Home | Main Index | Thread Index | Old Index