Commits
Alexey Kuznetsov authored and Pavel Emelianov committed 2dcfb28e81f
[CPT] too aggressive sys_futex() restart Checkpointing used to enforce restart of sys_futex even when it returns -EINTR to workaround for sick return value of FUTEX_WAIT. Of course, this is wrong (f.e. it means restart of timed FUTEX_WAIT with original timeout :-(), but do not have much of choice if we do not want to break everything. At least one case can be relaxed. If we have signal pending, when we restore we must not restart. This pending signal would interrupt FUTEX_WAIT in any case. This fixes sem_wait()