On Wed, Aug 20, 2014 at 14:10, Alexander Bluhm wrote: > CVSROOT: /cvs > Module name: src > Changes by: [email protected] 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.
