Paul Mundt 3aeb884b4e sh: Handle -ERESTART_RESTARTBLOCK for restartable syscalls.
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: Carl Shaw <shaw.carl@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2007-06-19 12:33:21 +09:00
..
2007-05-31 13:44:55 +09:00
2005-04-16 15:20:36 -07:00
2007-05-31 13:46:21 +09:00
2005-10-30 17:37:32 -08:00
2007-05-07 02:11:56 +00:00
2007-03-05 14:13:25 +09:00
2006-09-27 18:25:24 +09:00
2007-05-07 02:10:53 +00:00
2005-04-16 15:20:36 -07:00
2007-05-21 14:31:39 +09:00
2007-05-07 02:11:56 +00:00
2007-05-07 02:11:56 +00:00
2005-04-16 15:20:36 -07:00
2006-09-27 16:20:22 +09:00
2005-04-16 15:20:36 -07:00
2007-05-31 13:46:21 +09:00
2007-06-18 18:57:13 +09:00