[ntp:bugs] [Bug 3444] ntpd deadlock - caused by recvmsg() not being signal handler safe on qnx

bugzilla-daemon at ntp.org bugzilla-daemon at ntp.org
Mon Jun 3 05:15:03 UTC 2019


http://bugs.ntp.org/show_bug.cgi?id=3444

Juergen Perlinger <perlinger at ntp.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #1 from Juergen Perlinger <perlinger at ntp.org> 2019-06-03 05:15:03 UTC ---
This is a know problwm with QNX -- it is not POSIX compliant here. POSIX
requires revcmsg to be async-signal-safe. On QNX it calls malloc, which is not,
so recvmsg is not, either.

The only way out of this is to DISABLE signal-driven I/O when building for QNX.
If QNX supports network-level time stamps, that's the best thing to do anyway.

If it does not, and if a QNX-aware programmer can find a way to wrap up QNX
low-level calls in a way that results in an async-safe recvmsg() surrogate,
we're probably glad to have it integrated...

-- 
Configure bugmail: http://bugs.ntp.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the bugs-announce mailing list