summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSasha Levin <sasha.levin@oracle.com>2016-02-05 15:36:05 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2016-02-05 18:10:40 -0800
commit823dd3224a07f618d652a7743c9603222d019de3 (patch)
tree56e8dd97ecfe996c6337c17e8255fa4bf716bcf2 /scripts
parentdf48ab3c2f5ffca88b7803ffbadd074bd5a0a2ef (diff)
downloadlinux-823dd3224a07f618d652a7743c9603222d019de3.tar.bz2
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 <sasha.levin@oracle.com> Acked-by: Oleg Nesterov <oleg@redhat.com> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Dmitry Vyukov <dvyukov@google.com> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions