From owner-cvs-all Thu Apr 18 21:14:33 2002 Delivered-To: cvs-all@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id A6E0937B419; Thu, 18 Apr 2002 21:14:27 -0700 (PDT) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.11.4/8.11.6) id g3J4EQH69597; Fri, 19 Apr 2002 00:14:26 -0400 (EDT) (envelope-from wollman) Date: Fri, 19 Apr 2002 00:14:26 -0400 (EDT) From: Garrett Wollman Message-Id: <200204190414.g3J4EQH69597@khavrinen.lcs.mit.edu> To: "J. Mallett" Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/kern kern_descrip.c kern_exec.c src/sys/sys filedesc.h In-Reply-To: <20020419032610.GG30498@FreeBSD.ORG> References: <200204190045.g3J0jUY59526@freefall.freebsd.org> <200204190309.g3J39tE69057@khavrinen.lcs.mit.edu> <20020419032610.GG30498@FreeBSD.ORG> 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 < said: > If you know the codepath of a program, you can close a number of file > descriptors, and ones specifically for reading or writing, and without fail > cause corruption of a file, dump information of your choice into a file, > or cause information to be incorrectly read from a file. Any privileged process which blindly trusts its file descriptors to not be closed is seriously broken. It's not clear whether POSIX allows this behavior. I've submitted an aardvark requesting clarification. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message