K 10
svn:author
V 6
iulius
K 8
svn:date
V 27
2015-06-20T20:51:22.386067Z
K 7
svn:log
V 574
innd: mask signals when not in select

This excludes the possibility of a signal handler accessing data that
the main code is mutating.

Rationale:
When a child (say, nnrpd) terminates, innd gets SIGCHLD and
immediately invokes PROCreap().  This looks for the process in
PROCtable.  However, if another child process has just been started then
PROCwatch() will be part way through executing realloc() to expand
PROCtable at the point the signal arrives.  So PROCreap() may see an old
and possibly corrupted version of the table.

Thanks to Richard Kettlewell for the patch.

END
