From owner-cvs-src@FreeBSD.ORG Sat Nov 6 23:36:10 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E56616A4CE; Sat, 6 Nov 2004 23:36:10 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id F299D43D48; Sat, 6 Nov 2004 23:36:09 +0000 (GMT) (envelope-from phk@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id iA6Na9Wd034695; Sat, 6 Nov 2004 23:36:09 GMT (envelope-from phk@repoman.freebsd.org) Received: (from phk@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id iA6Na9rN034694; Sat, 6 Nov 2004 23:36:09 GMT (envelope-from phk) Message-Id: <200411062336.iA6Na9rN034694@repoman.freebsd.org> From: Poul-Henning Kamp Date: Sat, 6 Nov 2004 23:36:09 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern kern_descrip.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Nov 2004 23:36:10 -0000 phk 2004-11-06 23:36:09 UTC FreeBSD src repository Modified files: sys/kern kern_descrip.c Log: When we open /dev/null for stdin/out/err for safety reasons, do it right: we should preserve f_data and f_ops if they are already set. Revision Changes Path 1.247 +5 -3 src/sys/kern/kern_descrip.c