-
由 Paul Mundt 提交于
The current implementation only handles -ERESTARTNOHAND, whereas we also need to handle -ERESTART_RESTARTBLOCK in the handle_signal() case for restartable system calls. As noted by Carl: This fixes the LTP test nanosleep03 - the current kernel causes -ERESTART_RESTARTBLOCK to reach user space rather than the correct -EINTR. Reported-by: NCarl Shaw <shaw.carl@gmail.com> Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
3aeb884b