Re: [PATCH] signals: work around random wakeups in sigsuspend()

From: Andrew Morton
Date: Mon Jan 25 2016 - 16:32:12 EST


On Mon, 25 Jan 2016 10:21:46 -0500 Sasha Levin <sasha.levin@xxxxxxxxxx> wrote:

> A random wakeup can get us out of sigsuspend() without TIF_SIGPENDING
> being set.
>
> Avoid that by making sure we were signaled, like sys_pause() does.

What we're lacking here is any description of the end-user-visible
effects of the bug. Enough for people to be able to decide (and to
recognize!) whether their kernel needs this patch.</stdrefrain>