Skip to content
Commit d92fcf05 authored by Oleg Nesterov's avatar Oleg Nesterov
Browse files

signal: sys_pause() should check signal_pending()



ERESTART* is always wrong without TIF_SIGPENDING. Teach sys_pause()
to handle the spurious wakeup correctly.

Signed-off-by: default avatarOleg Nesterov <oleg@redhat.com>
parent 0666fb51
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment