diff options
| author | Sasha Levin <[email protected]> | 2016-02-05 23:36:05 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2016-02-06 02:10:40 +0000 |
| commit | 823dd3224a07f618d652a7743c9603222d019de3 (patch) | |
| tree | 56e8dd97ecfe996c6337c17e8255fa4bf716bcf2 /lib/dump_stack.c | |
| parent | Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm6... (diff) | |
| download | kernel-823dd3224a07f618d652a7743c9603222d019de3.tar.gz kernel-823dd3224a07f618d652a7743c9603222d019de3.zip | |
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]>
Diffstat (limited to 'lib/dump_stack.c')
0 files changed, 0 insertions, 0 deletions
