Files
Linux/kernel
Sasha Levin 823dd3224a signals: avoid random wakeups in sigsuspend()
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.

Signed-off-by: Sasha Levin <[email protected]>
Acked-by: Oleg Nesterov <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Dmitry Vyukov <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2016-02-05 18:10:40 -08:00
..
2015-12-04 22:46:25 +01:00
2016-01-26 11:08:35 +01:00
…
2015-11-19 17:51:48 +01:00
2016-01-22 18:04:28 -05:00
2016-01-22 18:04:28 -05:00
…
2015-12-14 14:54:37 -05:00
…
…
…
…
2016-01-14 16:00:49 -08:00
…
2016-01-26 11:08:35 +01:00
…
2015-11-23 09:44:58 +01:00
…
2016-01-31 09:10:19 -08:00
…
…
…
2016-01-22 18:04:28 -05:00
…
…
…
…
…
…
…