followup: stuck lmtpd processes
Rob Siemborski
rjs3 at andrew.cmu.edu
Thu Sep 25 12:44:35 EDT 2003
On Thu, 25 Sep 2003, Etienne Goyer wrote:
> However, the man page is wrong about EINTR at least as far as RedHat 7.x
> is concerned. In a murder environnement, when following a referral :
No it isn't wrong. The problem is signals that are configured via
signal() instead of sigaction(). On Linux, signal() implicetly sets the
SA_RESTART flag, which causes the signal to have this behavior, not the
syscall.
If SA_RESTART is not set, then the system call is interrupted (and returns
EINTR) as it should be.
-Rob
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper
More information about the Info-cyrus
mailing list