Date: Tue, 5 Feb 2002 07:20:02 -0800 (PST) From: Sheldon Hearn <sheldonh@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/crypto/telnet/telnetd sys_term.c src/libexec/telnetd sys_term.c Message-ID: <200202051520.g15FK2p12729@freefall.freebsd.org>
index | next in thread | raw e-mail
sheldonh 2002/02/05 07:20:02 PST
Modified files:
crypto/telnet/telnetd sys_term.c
libexec/telnetd sys_term.c
Log:
Don't use non-signal-safe functions (exit(3) in this case) in
signal handlers. In this case, use _exit(2) instead, following
the call to shutdown(2).
This fixes rare telnetd hangs.
PR: misc/33672
Submitted by: Umesh Krishnaswamy <umesh@juniper.net>
MFC after: 1 month
Revision Changes Path
1.16 +1 -1 src/crypto/telnet/telnetd/sys_term.c
1.37 +1 -1 src/libexec/telnetd/sys_term.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202051520.g15FK2p12729>
