From owner-cvs-all Sun Feb 23 8:54:22 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 268A637B401; Sun, 23 Feb 2003 08:54:21 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 988AE43FBD; Sun, 23 Feb 2003 08:54:20 -0800 (PST) (envelope-from dwmalone@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h1NGsK0U077536; Sun, 23 Feb 2003 08:54:20 -0800 (PST) (envelope-from dwmalone@repoman.freebsd.org) Received: (from dwmalone@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h1NGsJAf077535; Sun, 23 Feb 2003 08:54:19 -0800 (PST) Message-Id: <200302231654.h1NGsJAf077535@repoman.freebsd.org> From: David Malone Date: Sun, 23 Feb 2003 08:54:19 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/inetd inetd.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 dwmalone 2003/02/23 08:54:19 PST Modified files: usr.sbin/inetd inetd.c Log: Under some unusual conditions, inetd can leak a open file discriptor into a child process. Rather than closing the discriptors manually, mark all discriptors as close-on-exec. PR: 47694 Submitted by: Max Okumoto Obtained from: NetBSD MFC after: 2 weeks Revision Changes Path 1.119 +23 -7 src/usr.sbin/inetd/inetd.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message