Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Apr 2002 03:10:01 -0500 (CDT)
From:      Mike Silbersack <silby@silby.com>
To:        Mike Barcroft <mike@FreeBSD.ORG>
Cc:        Garrett Wollman <wollman@lcs.mit.edu>, "M. Warner Losh" <imp@village.org>, <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:  <20020423030714.U24733-100000@patrocles.silby.com>
In-Reply-To: <20020422160742.B8421@espresso.q9media.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Mon, 22 Apr 2002, Mike Barcroft wrote:

> I agree that the current solution to this problem is wrong.  I think
> the most correct solution would be to fix each set[ug]id program to
> ensure that it has a working set of the basic std{in,out,err}
> descriptors by making a series of fstat() calls and watching for a
> EBADF.
>
> Best regards,
> Mike Barcroft

But... if you go through and fix the bugs in the various set[ug]id
programs, doesn't that make the kernel change a no-op?  And in that case,
what's the harm in having such a feature in the kernel?

Mike "Silby" Silbersack


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?20020423030714.U24733-100000>