[#] http://marc.info/?l=openbsd-cvs&m=140857946829105&w=2
openbsd-cvs(obsdave,2) — All
2014-08-21 04:55:06


> CVSROOT: /cvs
> Module name: src
> Changes by: bluhm@cvs.openbsd.org 2014/08/20 14:10:17
>
> Modified files:
> usr.sbin/syslogd: privsep.c syslogd.c syslogd.h
>
> Log message:
> Replace gethostbyaddr(3) with getnameinfo(3). Remove the sigprocmask()
> that was necessary for gethostbyaddr() because the latter is not
> signal safe. Change the return code semantics of priv_getnameinfo()
> to match getnameinfo(3).
> input and OK jca@

The man page for getnameinfo says getnameinfo is not thread safe,
which almost guarantees it is not signal safe either.