Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Apr 2002 00:14:26 -0400 (EDT)
From:      Garrett Wollman <wollman@lcs.mit.edu>
To:        "J. Mallett" <jmallett@FreeBSD.ORG>
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
Message-ID:  <200204190414.g3J4EQH69597@khavrinen.lcs.mit.edu>
In-Reply-To: <20020419032610.GG30498@FreeBSD.ORG>
References:  <200204190045.g3J0jUY59526@freefall.freebsd.org> <200204190309.g3J39tE69057@khavrinen.lcs.mit.edu> <p05111709b8e53bfd88f7@[128.113.24.47]> <20020419032610.GG30498@FreeBSD.ORG>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Fri, 19 Apr 2002 03:26:11 +0000, "J. Mallett" <jmallett@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204190414.g3J4EQH69597>