Re: [PATCH v3 1/1] waitid: Add support for waiting for the current process group

From: Oleg Nesterov
Date: Wed Aug 14 2019 - 12:09:24 EST


On 08/14, Christian Brauner wrote:
>
> and a signal could come in between the system call that
> retrieved the process gorup and the call to waitid that changes the
^^^^^
> current process group.

I noticed this typo only because I spent 2 minutes or more trying to
understand this sentence ;) But yes, a signal handler or another thread
can change pgrp in between.

Reviewed-by: Oleg Nesterov <oleg@xxxxxxxxxx>