kib 71b9169fe9 The sigwait(3) function shall not return EINTR, according to the
POSIX/SUSvN. The sigwait(2) syscall does return EINTR, and libc.so.7
contains the wrapper sigwait(3) which hides EINTR from callers.  The
EINTR return is used by libthr to handle required cancellation point
in the sigwait(3).

To help the binaries linked against pre-libc.so.7, i.e. RELENG_6 and
earlier, to have right ABI for sigwait(3), transform EINTR return from
sigwait(2) into ERESTART.

Discussed with:	davidxu
MFC after:	1 week
2011-10-01 10:18:55 +00:00
..
2011-04-13 11:28:46 +00:00
MFC
2011-05-31 21:22:44 +00:00
2010-11-25 20:05:11 +00:00
2011-07-10 00:53:04 +00:00
2011-09-27 13:42:11 +00:00
MFC
2011-06-01 16:54:33 +00:00
2011-07-11 05:17:46 +00:00
MFC
2011-05-13 15:20:57 +00:00