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: NOleg Nesterov <oleg@redhat.com>
Showing
想要评论请 注册 或 登录
ERESTART* is always wrong without TIF_SIGPENDING. Teach sys_pause()
to handle the spurious wakeup correctly.
Signed-off-by: NOleg Nesterov <oleg@redhat.com>