Searched hist:75754 (Results 1 - 1 of 1) sorted by relevance

/freebsd-11-stable/usr.sbin/mountd/
H A Dmountd.cdiff 75754 Fri Apr 20 22:55:17 MDT 2001 iedowse Fix a long-standing bug relating to the handling of SIGHUP: mountd
would call malloc, stdio and other library functions from the signal
handler which is not safe due to reentrancy problems.

Instead, add a simple handler that just sets a flag, and call the
more complex function from main() when necessary. Unfortunately to
be able to check this flag, we must expand the svc_run() call, but
the RPC library makes that relatively easy to do.

Completed in 119 milliseconds