HomeFreeBSD

MFC r225894:
rS226205Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

MFC r225894:
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.

Details

Provenance
kibAuthored on
Parents
rS226204: MFC r225943:
Branches
Unknown
Tags
Unknown

Event Timeline