This patch set fixes 2 problems in clock_nanosleep(). One is clock_nanosleep()
does not return the remaining time and returns wrong errno to user in compatibility
mode, if it is interrupted by a signal and restarts sleeping.
The other one is posix_cpu_nsleep() does not handle the flags argument properly.
Sincerely,
Toyo Abe <[email protected]>