From owner-cvs-all Tue Feb 5 7:20:11 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E856E37B405; Tue, 5 Feb 2002 07:20:02 -0800 (PST) Received: (from sheldonh@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g15FK2p12729; Tue, 5 Feb 2002 07:20:02 -0800 (PST) (envelope-from sheldonh) Message-Id: <200202051520.g15FK2p12729@freefall.freebsd.org> From: Sheldon Hearn Date: Tue, 5 Feb 2002 07:20:02 -0800 (PST) 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 X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 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